{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "oulL-Ho0eVDr"
   },
   "source": [
    "# Numbers and charts for \"_Shakespeare and Company Project_  Datasets\"\n",
    "\n",
    "## setup"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/"
    },
    "id": "BULu_Ng7eeip",
    "outputId": "fe1d5d04-1ab4-47e6-b3cd-9a7806d6ae25"
   },
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "\n",
    "# load data as csv from local copies of 1.2 version\n",
    "csv_paths = {\n",
    "    'members': 'SCoData_members_v1.2_2022-01.csv',\n",
    "    'books':  'SCoData_books_v1.2_2022-01.csv',\n",
    "    'events': 'SCoData_events_v1.2_2022-01.csv',\n",
    "}\n",
    "\n",
    "# load members, books, events as csv\n",
    "members_df = pd.read_csv(csv_paths['members'])\n",
    "books_df = pd.read_csv(csv_paths['books'])\n",
    "events_df = pd.read_csv(csv_paths['events'])\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "IMJPrwADfWAU"
   },
   "source": [
    "\n",
    "# members\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "hBsHyWeRfdfJ"
   },
   "source": [
    "## overview - demographics\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/"
    },
    "id": "cPO4eZLne9X4",
    "outputId": "03ee9b0d-f0b7-480f-939f-3408e3ad01ee"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "5235 members\n"
     ]
    }
   ],
   "source": [
    "total_members = len(members_df)\n",
    "print('%d members' % len(members_df))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "id": "kMKrslZyhEkP"
   },
   "outputs": [],
   "source": [
    "def percent_known(df, field):\n",
    "  total = len(df)\n",
    "  with_field = len(members_df[members_df[field].notnull()])\n",
    "  print('%d with %s : %.00f%%' % (with_field, field, (with_field/total)*100))\n",
    "  return with_field"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/"
    },
    "id": "uharV6Bmg6jr",
    "outputId": "7794c202-1052-4283-e509-f4002ceaa732"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "3673 with title : 70%\n",
      "4039 with gender : 77%\n",
      "561 with birth_year : 11%\n",
      "544 with death_year : 10%\n",
      "581 with nationalities : 11%\n",
      "520 with viaf_url : 10%\n",
      "358 with wikipedia_url : 7%\n",
      "{'title': 3673, 'gender': 4039, 'birth_year': 561, 'death_year': 544, 'nationalities': 581, 'viaf_url': 520, 'wikipedia_url': 358}\n"
     ]
    }
   ],
   "source": [
    "total_known = {}\n",
    "for field in ['title', 'gender', 'birth_year', 'death_year', 'nationalities', 'viaf_url', 'wikipedia_url']:\n",
    "    total_known[field] = percent_known(members_df, field)\n",
    "\n",
    "print(total_known)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 269
    },
    "id": "rzzEETgohfPO",
    "outputId": "1691b9cd-1619-4e6b-9514-1ebedb42387c"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>total</th>\n",
       "      <th>percent</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>gender</th>\n",
       "      <td>4039</td>\n",
       "      <td>77.15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>title</th>\n",
       "      <td>3673</td>\n",
       "      <td>70.16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>nationalities</th>\n",
       "      <td>581</td>\n",
       "      <td>11.10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>birth_year</th>\n",
       "      <td>561</td>\n",
       "      <td>10.72</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>death_year</th>\n",
       "      <td>544</td>\n",
       "      <td>10.39</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>viaf_url</th>\n",
       "      <td>520</td>\n",
       "      <td>9.93</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>wikipedia_url</th>\n",
       "      <td>358</td>\n",
       "      <td>6.84</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "               total  percent\n",
       "gender          4039    77.15\n",
       "title           3673    70.16\n",
       "nationalities    581    11.10\n",
       "birth_year       561    10.72\n",
       "death_year       544    10.39\n",
       "viaf_url         520     9.93\n",
       "wikipedia_url    358     6.84"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "known = pd.DataFrame({'total': total_known})\n",
    "known['percent'] = (known['total'] / len(members_df))*100\n",
    "known = known.sort_values(by=['total'], ascending=False)\n",
    "known.percent = known.percent.round(2)\n",
    "known"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 337
    },
    "id": "oGXbcEihIm5p",
    "outputId": "8fb92dce-b906-4cec-a83a-616049dca8e9"
   },
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAFACAYAAABQnawiAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tY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gwIC8wzAzqyvTp09/MyL6NDWtUyf9AQMGMG3atLzDMDOrK5Iqdq/i6h0zswJx0jczKxAnfTOzAunUdfpmtnL7+OOPmT17Nh988EHeodSlHj160L9/f7p161b1Mk76Zpab2bNns+aaazJgwACafoyFVRIRLFiwgNmzZ7PJJptUvZyrd8wsNx988AHrrLOOE34bSGKdddZp9a8kJ30zy5UTftu1Zd856ZtZob388stss01VzyFaKaxUdfpPPtnUY1jbT0d/MRx/8xx/8+o5/vfffx+AL7bzzZg3DR4MwGqrrdau622sFH9Hac/4faZvZpa8+OKL7LDDDvzkJz/hkEMOYZ999mHgwIGceuqpDfNcffXVbLvttmyzzTacdtppANx4440Nw7/+9a8ZNGgQAC+99BJ77LEHAFtuuSXnnnsuw4YNY6edduK5556r8dZlnPTNzIDnnnuOL33pS4wdO5Y+ffowY8YMrr32Wp544gmuvfZaXn31VV577TVOO+007r77bmbMmMHUqVP585//zPDhw5k8OXtq6eTJk1l77bWZM2cOkydPZuTIkQ3vse666/Lggw/y9a9/nTFjxuSynU76ZlZ48+fPZ9SoUVx55ZVst912AOy555707NmTHj16MGjQIGbNmsXUqVPZbbfd6NOnD127duWoo45i0qRJrL/++rz77rssXryY2bNnc/jhhzN58mQmT57M8OHDG97noIMOAmCHHXbglVdeyWVbnfTNrPB69uzJRhttxP33399QtuqqqzYMd+nShSVLljS7jqFDh3LFFVewxRZbNJz5T5kyhWHDhi23zmrW11Gc9M2s8Lp3785NN93E5ZdfzlVXXVVxviFDhnDvvffy5ptvsnTpUq6++mp23XVXAEaMGMGYMWMYMWIE22+/PZMmTaJ79+707NmzVptRlaqSvqSXJT0haYakaalsbUkTJT2fXnunckn6paSZkh6X9Nmy9YxO8z8vaXTHbJKZWeutvvrqTJgwgYsuuoh33nmnyXk22GADLrjgAnbffXe22247dtxxR0aNGgVkSX/27NmMHDmSLl260L9//2WqdjqL1jTZ3D0i3iwbPx24KyIukHR6Gj8N2BcYmP6GAr8FhkpaGzgTGAwEMF3SLRGxqB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XipG9mViBO+mZmBeKkb2ZWIP8f7mhOo6y77bkAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "import matplotlib\n",
    "total_members = len(members_df.index)\n",
    "known_unknown = pd.DataFrame()\n",
    "known_unknown['known'] = known['total']\n",
    "\n",
    "known_unknown['unknown'] = known.total.apply(lambda x: total_members - x)\n",
    "\n",
    "known_unknown.plot(kind='bar', title='Known and unknown demographic information ', stacked=True, color=['#47C2C2', 'lightgray'], figsize=(6,4))\n",
    "matplotlib.pyplot.savefig('known_unknown_demographics.svg')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 749
    },
    "id": "TorHXqiTiEfj",
    "outputId": "8645091d-2eae-43c9-ff34-37b2126b76a3"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1,183 members with no demographic info\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>uri</th>\n",
       "      <th>name</th>\n",
       "      <th>sort_name</th>\n",
       "      <th>title</th>\n",
       "      <th>gender</th>\n",
       "      <th>is_organization</th>\n",
       "      <th>has_card</th>\n",
       "      <th>birth_year</th>\n",
       "      <th>death_year</th>\n",
       "      <th>membership_years</th>\n",
       "      <th>viaf_url</th>\n",
       "      <th>wikipedia_url</th>\n",
       "      <th>nationalities</th>\n",
       "      <th>addresses</th>\n",
       "      <th>postal_codes</th>\n",
       "      <th>arrondissements</th>\n",
       "      <th>coordinates</th>\n",
       "      <th>notes</th>\n",
       "      <th>updated</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Abdul</td>\n",
       "      <td>Abdul</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1941</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-12-22T01:57:37+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Abelin</td>\n",
       "      <td>Abelin</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1933</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-12-22T01:57:48+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>L. C. Abrahams</td>\n",
       "      <td>Abrahams, L. C.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1937</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Hôtel du Luxembourg, 12 rue Royer-Collard, Paris</td>\n",
       "      <td>75005</td>\n",
       "      <td>5</td>\n",
       "      <td>48.84586, 2.34182</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-15T00:40:29+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Accursi</td>\n",
       "      <td>Accursi</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1941</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-12-22T01:58:25+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Achenbach</td>\n",
       "      <td>Achenbach</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1939</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2021-10-22T15:22:26.589958+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5210</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Young</td>\n",
       "      <td>Young</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1929;1930</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:39+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5211</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Young</td>\n",
       "      <td>Young</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1939</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:39+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5212</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Young</td>\n",
       "      <td>Young</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1936</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:39+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5222</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Zakorska</td>\n",
       "      <td>Zakorska</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1927</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:39+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5230</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Ziegler</td>\n",
       "      <td>Ziegler</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1928</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:39+00:00</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1183 rows × 19 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                    uri            name  \\\n",
       "2     https://shakespeareandco.princeton.edu/members...           Abdul   \n",
       "4     https://shakespeareandco.princeton.edu/members...          Abelin   \n",
       "8     https://shakespeareandco.princeton.edu/members...  L. C. Abrahams   \n",
       "11    https://shakespeareandco.princeton.edu/members...         Accursi   \n",
       "12    https://shakespeareandco.princeton.edu/members...       Achenbach   \n",
       "...                                                 ...             ...   \n",
       "5210  https://shakespeareandco.princeton.edu/members...           Young   \n",
       "5211  https://shakespeareandco.princeton.edu/members...           Young   \n",
       "5212  https://shakespeareandco.princeton.edu/members...           Young   \n",
       "5222  https://shakespeareandco.princeton.edu/members...        Zakorska   \n",
       "5230  https://shakespeareandco.princeton.edu/members...         Ziegler   \n",
       "\n",
       "            sort_name title gender  is_organization  has_card  birth_year  \\\n",
       "2               Abdul   NaN    NaN            False     False         NaN   \n",
       "4              Abelin   NaN    NaN            False     False         NaN   \n",
       "8     Abrahams, L. C.   NaN    NaN            False     False         NaN   \n",
       "11            Accursi   NaN    NaN            False     False         NaN   \n",
       "12          Achenbach   NaN    NaN            False     False         NaN   \n",
       "...               ...   ...    ...              ...       ...         ...   \n",
       "5210            Young   NaN    NaN            False     False         NaN   \n",
       "5211            Young   NaN    NaN            False     False         NaN   \n",
       "5212            Young   NaN    NaN            False     False         NaN   \n",
       "5222         Zakorska   NaN    NaN            False     False         NaN   \n",
       "5230          Ziegler   NaN    NaN            False     False         NaN   \n",
       "\n",
       "      death_year membership_years viaf_url wikipedia_url nationalities  \\\n",
       "2            NaN             1941      NaN           NaN           NaN   \n",
       "4            NaN             1933      NaN           NaN           NaN   \n",
       "8            NaN             1937      NaN           NaN           NaN   \n",
       "11           NaN             1941      NaN           NaN           NaN   \n",
       "12           NaN             1939      NaN           NaN           NaN   \n",
       "...          ...              ...      ...           ...           ...   \n",
       "5210         NaN        1929;1930      NaN           NaN           NaN   \n",
       "5211         NaN             1939      NaN           NaN           NaN   \n",
       "5212         NaN             1936      NaN           NaN           NaN   \n",
       "5222         NaN             1927      NaN           NaN           NaN   \n",
       "5230         NaN             1928      NaN           NaN           NaN   \n",
       "\n",
       "                                             addresses postal_codes  \\\n",
       "2                                                  NaN          NaN   \n",
       "4                                                  NaN          NaN   \n",
       "8     Hôtel du Luxembourg, 12 rue Royer-Collard, Paris        75005   \n",
       "11                                                 NaN          NaN   \n",
       "12                                                 NaN          NaN   \n",
       "...                                                ...          ...   \n",
       "5210                                               NaN          NaN   \n",
       "5211                                               NaN          NaN   \n",
       "5212                                               NaN          NaN   \n",
       "5222                                               NaN          NaN   \n",
       "5230                                               NaN          NaN   \n",
       "\n",
       "     arrondissements        coordinates  \\\n",
       "2                NaN                NaN   \n",
       "4                NaN                NaN   \n",
       "8                  5  48.84586, 2.34182   \n",
       "11               NaN                NaN   \n",
       "12               NaN                NaN   \n",
       "...              ...                ...   \n",
       "5210             NaN                NaN   \n",
       "5211             NaN                NaN   \n",
       "5212             NaN                NaN   \n",
       "5222             NaN                NaN   \n",
       "5230             NaN                NaN   \n",
       "\n",
       "                                                  notes  \\\n",
       "2                                                   NaN   \n",
       "4                                                   NaN   \n",
       "8     The Shakespeare and Company <a href=\"https://s...   \n",
       "11                                                  NaN   \n",
       "12                                                  NaN   \n",
       "...                                                 ...   \n",
       "5210                                                NaN   \n",
       "5211                                                NaN   \n",
       "5212                                                NaN   \n",
       "5222                                                NaN   \n",
       "5230                                                NaN   \n",
       "\n",
       "                               updated  \n",
       "2            2019-12-22T01:57:37+00:00  \n",
       "4            2019-12-22T01:57:48+00:00  \n",
       "8            2021-08-15T00:40:29+00:00  \n",
       "11           2019-12-22T01:58:25+00:00  \n",
       "12    2021-10-22T15:22:26.589958+00:00  \n",
       "...                                ...  \n",
       "5210         2019-11-19T14:47:39+00:00  \n",
       "5211         2019-11-19T14:47:39+00:00  \n",
       "5212         2019-11-19T14:47:39+00:00  \n",
       "5222         2019-11-19T14:47:39+00:00  \n",
       "5230         2019-11-19T14:47:39+00:00  \n",
       "\n",
       "[1183 rows x 19 columns]"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "unknown = members_df\n",
    "for field in ['title', 'gender', 'birth_year', 'death_year', 'nationalities', 'viaf_url', 'wikipedia_url']:\n",
    "  unknown = unknown[unknown[field].isnull()]\n",
    "\n",
    "print(f'{len(unknown):,} members with no demographic info')\n",
    "unknown"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "RRQtyyvLk57K"
   },
   "source": [
    "## membership years"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 1000
    },
    "id": "89Dq4hfhj6wj",
    "outputId": "1e812ebc-cf89-492b-f7b2-a18715232c0e"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "58 members with no membership years\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>uri</th>\n",
       "      <th>name</th>\n",
       "      <th>sort_name</th>\n",
       "      <th>title</th>\n",
       "      <th>gender</th>\n",
       "      <th>is_organization</th>\n",
       "      <th>has_card</th>\n",
       "      <th>birth_year</th>\n",
       "      <th>death_year</th>\n",
       "      <th>membership_years</th>\n",
       "      <th>viaf_url</th>\n",
       "      <th>wikipedia_url</th>\n",
       "      <th>nationalities</th>\n",
       "      <th>addresses</th>\n",
       "      <th>postal_codes</th>\n",
       "      <th>arrondissements</th>\n",
       "      <th>coordinates</th>\n",
       "      <th>notes</th>\n",
       "      <th>updated</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>101</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Louis Aragon</td>\n",
       "      <td>Aragon, Louis</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1897.0</td>\n",
       "      <td>1982.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/8178518</td>\n",
       "      <td>http://en.wikipedia.org/wiki/Louis_Aragon</td>\n",
       "      <td>France</td>\n",
       "      <td>12 rue Saint-Pierre, Neuilly-sur-Seine</td>\n",
       "      <td>92200</td>\n",
       "      <td>NaN</td>\n",
       "      <td>48.88241, 2.27120</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2020-12-28T15:46:16+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>136</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Louis Atlas</td>\n",
       "      <td>Atlas, Louis</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>16 rue Jacques Callot, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.85536, 2.33694</td>\n",
       "      <td>According to the Shakespeare and Company [addr...</td>\n",
       "      <td>2021-09-23T12:11:31.262776+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>152</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Jacob Auslander</td>\n",
       "      <td>Auslander, Jacob</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>244 boulevard Raspail, Paris</td>\n",
       "      <td>75014</td>\n",
       "      <td>14</td>\n",
       "      <td>48.83832, 2.33068</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-10-28T17:47:21.441317+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>210</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme Baquis</td>\n",
       "      <td>Baquis, Mme</td>\n",
       "      <td>Mme</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Hôtel l'Aiglon, 232 boulevard Raspail, Paris</td>\n",
       "      <td>75014</td>\n",
       "      <td>14</td>\n",
       "      <td>48.83966, 2.33008</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-15T01:50:35+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>215</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Jean Barbier</td>\n",
       "      <td>Barbier, Jean</td>\n",
       "      <td>M.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>École Polytechnique, 5 rue Descartes, Paris</td>\n",
       "      <td>75005</td>\n",
       "      <td>5</td>\n",
       "      <td>48.84716, 2.34874</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-11-22T13:16:42.333372+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>371</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Miss Best</td>\n",
       "      <td>Best, Miss</td>\n",
       "      <td>Miss</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>125 avenue des Champs-Élysées, Paris</td>\n",
       "      <td>75008</td>\n",
       "      <td>8</td>\n",
       "      <td>48.87251, 2.29788</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-10-28T13:12:01.090477+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>392</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Hans Bieler</td>\n",
       "      <td>Bieler, Hans</td>\n",
       "      <td>Dr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Crystal Hotel Paris, 24 rue Saint-Benoît, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.85445, 2.33271</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-02T01:31:28+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>501</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mlle Boscq</td>\n",
       "      <td>Boscq, Mlle</td>\n",
       "      <td>Mlle</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lycée de jeunes filles, 6 rue Bourg les Bourgs...</td>\n",
       "      <td>29000</td>\n",
       "      <td>NaN</td>\n",
       "      <td>47.99391, -4.11150</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-07-27T00:13:44+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>604</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Catherine Brody</td>\n",
       "      <td>Brody, Catherine</td>\n",
       "      <td>Miss</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>9 rue de la Grande Chaumière, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.84226, 2.33080</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-07-28T18:06:55+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>632</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Colette Brull-Ulmann / Mlle Colette Brull</td>\n",
       "      <td>Brull-Ulmann, Colette</td>\n",
       "      <td>Mlle</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1920.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/166152138619610981032/</td>\n",
       "      <td>https://fr.wikipedia.org/wiki/Colette_Brull-Ul...</td>\n",
       "      <td>France</td>\n",
       "      <td>1 avenue du Général Maistre, Paris</td>\n",
       "      <td>75014</td>\n",
       "      <td>14</td>\n",
       "      <td>48.82538, 2.31392</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2021-02-28T13:54:56+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>648</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Bryher</td>\n",
       "      <td>Bryher</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1894.0</td>\n",
       "      <td>1983.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/111923629</td>\n",
       "      <td>https://en.wikipedia.org/wiki/Bryher_(novelist)</td>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2021-02-28T13:56:07+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>710</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mlle Busson-Leblanc</td>\n",
       "      <td>Busson-Leblanc, Mlle</td>\n",
       "      <td>Mlle</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5 cité du Cardinal Lemoine, Paris</td>\n",
       "      <td>75005</td>\n",
       "      <td>5</td>\n",
       "      <td>48.84870, 2.35303</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-02T21:07:35+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>761</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Maria Canavaggia</td>\n",
       "      <td>Canavaggia, Maria</td>\n",
       "      <td>Mlle</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>1896.0</td>\n",
       "      <td>1976.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/51686702/</td>\n",
       "      <td>https://en.wikipedia.org/wiki/Marie_Canavaggia</td>\n",
       "      <td>France</td>\n",
       "      <td>16 square de Port-Royal, Paris</td>\n",
       "      <td>75013</td>\n",
       "      <td>13</td>\n",
       "      <td>48.83684, 2.34356</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-05T01:03:02+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>797</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Carl Cartland</td>\n",
       "      <td>Cartland, Carl</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>35 rue Delambre, Paris</td>\n",
       "      <td>75014</td>\n",
       "      <td>14</td>\n",
       "      <td>48.84135, 2.32606</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-10-28T13:11:20.441505+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>873</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme Martin Chauffier</td>\n",
       "      <td>Chauffier, Mme Martin</td>\n",
       "      <td>Mme</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>48 boulevard Soult, Paris</td>\n",
       "      <td>75012</td>\n",
       "      <td>12</td>\n",
       "      <td>48.84078, 2.40925</td>\n",
       "      <td>According to the Shakespeare and Company [addr...</td>\n",
       "      <td>2021-09-23T12:11:48.969085+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1099</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Crozet</td>\n",
       "      <td>Crozet, Mr.</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-12T14:08:37+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1101</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme Cuénod</td>\n",
       "      <td>Cuénod, Mme</td>\n",
       "      <td>Mme</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>99 rue du Bac, Paris</td>\n",
       "      <td>75007</td>\n",
       "      <td>7</td>\n",
       "      <td>48.85320, 2.32389</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-12T14:13:59+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1111</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Henry Cummings</td>\n",
       "      <td>Cummings, Henry</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Hotel de Paris, 6 rue de Verneuil, Paris</td>\n",
       "      <td>75007</td>\n",
       "      <td>7</td>\n",
       "      <td>48.85737, 2.33161</td>\n",
       "      <td>According to the Shakespeare and Company [addr...</td>\n",
       "      <td>2021-09-23T12:14:20.341830+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1125</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Edward Cushing</td>\n",
       "      <td>Cushing, Edward</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-13T01:13:31+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1147</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Reymonde Darling</td>\n",
       "      <td>Darling, Reymonde</td>\n",
       "      <td>Mlle</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Hôtel des Saints-Pères, 65 rue des Saints-Père...</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.85334, 2.33001</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-17T00:46:46+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1155</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>René Daumal</td>\n",
       "      <td>Daumal, René</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1908.0</td>\n",
       "      <td>1944.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/24600269</td>\n",
       "      <td>https://en.wikipedia.org/wiki/Ren%C3%A9_Daumal</td>\n",
       "      <td>France</td>\n",
       "      <td>La Nouvelle Revue Française, Sartilly</td>\n",
       "      <td>50530</td>\n",
       "      <td>NaN</td>\n",
       "      <td>48.74121, -1.44656</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2021-02-28T19:17:44+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1184</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Miss Daws</td>\n",
       "      <td>Daws, Miss</td>\n",
       "      <td>Miss</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>61 bis rue Notre Dame des Champs, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.84381, 2.33108</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-10-28T13:10:00.115639+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1227</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme Degains</td>\n",
       "      <td>Degains, Mme</td>\n",
       "      <td>Mme</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>38 rue Dombasle, Paris</td>\n",
       "      <td>75015</td>\n",
       "      <td>15</td>\n",
       "      <td>48.83577, 2.29928</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-11-26T03:16:22.479387+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1261</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Dell</td>\n",
       "      <td>Dell, Mrs.</td>\n",
       "      <td>Mrs.</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Hotel West End, 7 rue Clément Marot, Paris</td>\n",
       "      <td>75008</td>\n",
       "      <td>8</td>\n",
       "      <td>48.86715, 2.30379</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-19T12:38:36+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1428</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. J. F. Douglas</td>\n",
       "      <td>Douglas, Mrs. J. F.</td>\n",
       "      <td>Mrs.</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>31 rue de Vaugirard, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.84807, 2.33085</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-22T17:48:04+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1429</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>V. A. Douglas</td>\n",
       "      <td>Douglas, V. A.</td>\n",
       "      <td>Miss</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>151 boulevard de l'Hôpital, Paris</td>\n",
       "      <td>75013</td>\n",
       "      <td>13</td>\n",
       "      <td>48.83391, 2.35756</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-22T17:52:19+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1436</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Doyley</td>\n",
       "      <td>Doyley, Mr.</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Hôtel Saint Germain des Prés, 36 rue Bonaparte...</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.85509, 2.33358</td>\n",
       "      <td>The Shakepeare and Company &lt;a href=\"https://sh...</td>\n",
       "      <td>2021-08-21T11:38:17+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1467</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Dufour</td>\n",
       "      <td>Dufour, Mr.</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>France</td>\n",
       "      <td>16 avenue Victor Hugo, Vanves</td>\n",
       "      <td>92170</td>\n",
       "      <td>NaN</td>\n",
       "      <td>48.82281, 2.28716</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2021-08-23T01:35:58+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1509</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Luc Durtain</td>\n",
       "      <td>Durtain, Luc</td>\n",
       "      <td>M.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>1881.0</td>\n",
       "      <td>1959.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/7453684/</td>\n",
       "      <td>https://fr.wikipedia.org/wiki/Luc_Durtain</td>\n",
       "      <td>France</td>\n",
       "      <td>20 boulevard Barbès, Paris;La Bastide de Saint...</td>\n",
       "      <td>75018;83990</td>\n",
       "      <td>18;</td>\n",
       "      <td>48.88497, 2.34971;43.26557, 6.63869</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-22T21:02:47+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1561</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>E. Eisenschitz</td>\n",
       "      <td>Eisenschitz, E.</td>\n",
       "      <td>Mlle</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Les Minimes, La Valette-du-Var</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>According to the Shakespeare and Company [addr...</td>\n",
       "      <td>2021-09-23T12:16:20.123442+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1647</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Emmanuel Fay</td>\n",
       "      <td>Fay, Emmanuel</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-27T18:47:57+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1682</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>R. S. Finney</td>\n",
       "      <td>Finney, R. S.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>71 rue du Cardinal Lemoine, Paris</td>\n",
       "      <td>75005</td>\n",
       "      <td>5</td>\n",
       "      <td>48.84554, 2.35023</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-29T18:46:05+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1757</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>M. Fournerey</td>\n",
       "      <td>Fournerey, M.</td>\n",
       "      <td>M.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>18 rue des Carmes, Orléans;Lycée Louis-le-Gran...</td>\n",
       "      <td>45000;75005</td>\n",
       "      <td>;5</td>\n",
       "      <td>47.90176, 1.90050;48.84842, 2.34522</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2021-08-29T16:27:07+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1765</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mlle Foyé</td>\n",
       "      <td>Foyé, Mlle</td>\n",
       "      <td>Mlle</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>214 boulevard Raspail, Paris</td>\n",
       "      <td>75014</td>\n",
       "      <td>14</td>\n",
       "      <td>48.84116, 2.32975</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-08-29T16:45:35+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1992</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Herbert Sherman Gorman</td>\n",
       "      <td>Gorman, Herbert Sherman</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>1893.0</td>\n",
       "      <td>1954.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/37071397/</td>\n",
       "      <td>https://es.wikipedia.org/wiki/Herbert_Gorman</td>\n",
       "      <td>United States</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-09-06T01:42:59+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2045</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>A. K. Griggs</td>\n",
       "      <td>Griggs, A. K.</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>61 rue des Saints-Pères, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.85364, 2.33006</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-09-05T19:30:30+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2190</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Allanah Harper</td>\n",
       "      <td>Harper, Allanah</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1904.0</td>\n",
       "      <td>1992.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/93079137</td>\n",
       "      <td>https://en.wikipedia.org/wiki/Allanah_Harper</td>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>14 rue Cassini, Paris</td>\n",
       "      <td>75014</td>\n",
       "      <td>14</td>\n",
       "      <td>48.83728, 2.33692</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2020-07-19T18:30:26+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2245</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Jane Heap</td>\n",
       "      <td>Heap, Jane</td>\n",
       "      <td>Miss</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>1883.0</td>\n",
       "      <td>1964.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/8303119/</td>\n",
       "      <td>https://en.wikipedia.org/wiki/Jane_Heap</td>\n",
       "      <td>United States</td>\n",
       "      <td>Hotel Jacob, 44 rue Jacob, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.85596, 2.33333</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-09-16T02:38:23+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2293</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Hersch</td>\n",
       "      <td>Hersch, Mr.</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>21 rue du Parc de Montsouris, Paris</td>\n",
       "      <td>75014</td>\n",
       "      <td>14</td>\n",
       "      <td>48.82272, 2.33443</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-11-22T13:28:47.569604+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2324</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>G. W. Higgins</td>\n",
       "      <td>Higgins, G. W.</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7 rue Lachelier, Paris</td>\n",
       "      <td>75013</td>\n",
       "      <td>13</td>\n",
       "      <td>48.81982, 2.36587</td>\n",
       "      <td>According to the Shakespeare and Company [addr...</td>\n",
       "      <td>2021-09-23T12:15:26.177226+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2353</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Leigh Hoffman</td>\n",
       "      <td>Hoffman, Leigh</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5 rue Lamartine, Paris</td>\n",
       "      <td>75009</td>\n",
       "      <td>9</td>\n",
       "      <td>48.87650, 2.34367</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-11-21T18:07:58.679615+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2381</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Bernard Hommel</td>\n",
       "      <td>Hommel, Bernard</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1925.0</td>\n",
       "      <td>2013.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>United States</td>\n",
       "      <td>12 rue de l'Odéon, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.85092, 2.33845</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2021-11-19T13:15:28.525057+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2435</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Alice Hughes</td>\n",
       "      <td>Hughes, Alice</td>\n",
       "      <td>Miss</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>20 rue Cujas, Paris</td>\n",
       "      <td>75005</td>\n",
       "      <td>5</td>\n",
       "      <td>48.84820, 2.34202</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-09-15T01:58:19+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2590</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Louis Jouvet</td>\n",
       "      <td>Jouvet, Louis</td>\n",
       "      <td>M.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>1887.0</td>\n",
       "      <td>1951.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/41841996/</td>\n",
       "      <td>https://en.wikipedia.org/wiki/Louis_Jouvet</td>\n",
       "      <td>France</td>\n",
       "      <td>Comédie des Champs-Élysées / Théâtre des Champ...</td>\n",
       "      <td>75008</td>\n",
       "      <td>8</td>\n",
       "      <td>48.86571, 2.30314</td>\n",
       "      <td>According to the Shakespeare and Company [addr...</td>\n",
       "      <td>2021-09-21T02:02:41.087820+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2800</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Valery Larbaud</td>\n",
       "      <td>Larbaud, Valery</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1881.0</td>\n",
       "      <td>1957.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/13334</td>\n",
       "      <td>http://en.wikipedia.org/wiki/Valery_Larbaud</td>\n",
       "      <td>France</td>\n",
       "      <td>71 rue du Cardinal Lemoine, Paris;Hiawatha Eas...</td>\n",
       "      <td>75005;</td>\n",
       "      <td>5;</td>\n",
       "      <td>48.84554, 2.35023;50.83421, -0.27156</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2021-09-27T03:55:20.823664+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2988</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme Lion</td>\n",
       "      <td>Lion, Mme</td>\n",
       "      <td>Mme</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1 rue de la Planche, Paris</td>\n",
       "      <td>75007</td>\n",
       "      <td>7</td>\n",
       "      <td>48.85334, 2.32556</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-11-16T15:36:38.655056+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3149</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme Mannette</td>\n",
       "      <td>Mannette, Mme</td>\n",
       "      <td>Mme</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>École normale supérieure, 45 rue d'Ulm, Paris</td>\n",
       "      <td>75005</td>\n",
       "      <td>5</td>\n",
       "      <td>48.84184, 2.34403</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-10-05T03:30:52.510015+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3162</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>George Margolin</td>\n",
       "      <td>Margolin, George</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Hôtel Racine, 23 rue Racine, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.84995, 2.33947</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-10-16T12:59:25.003943+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3194</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Juan Ramón Masoliver</td>\n",
       "      <td>Masoliver, Juan Ramón</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1910.0</td>\n",
       "      <td>1997.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/60665573</td>\n",
       "      <td>https://es.wikipedia.org/wiki/Juan_Ram%C3%B3n_...</td>\n",
       "      <td>Spain</td>\n",
       "      <td>11 rue Claude Bernard, Paris</td>\n",
       "      <td>75005</td>\n",
       "      <td>5</td>\n",
       "      <td>48.83882, 2.34924</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:34+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3338</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mlle Mercoiret</td>\n",
       "      <td>Mercoiret, Mlle</td>\n",
       "      <td>Mlle</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>12 boulevard de Port-Royal, Paris</td>\n",
       "      <td>75005</td>\n",
       "      <td>5</td>\n",
       "      <td>48.83716, 2.35016</td>\n",
       "      <td>The Shakespeare and Company &lt;a href=\"https://s...</td>\n",
       "      <td>2021-10-09T00:02:10.519235+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3436</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme le Moal</td>\n",
       "      <td>Moal, Mme le</td>\n",
       "      <td>Mme</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2021-01-01T17:36:41+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3579</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Margaret Newitt</td>\n",
       "      <td>Newitt, Margaret</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>1914.0</td>\n",
       "      <td>1985.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Canada;United Kingdom</td>\n",
       "      <td>1 rue Dupuytren, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.85165, 2.33964</td>\n",
       "      <td>According to the Shakespeare and Company [addr...</td>\n",
       "      <td>2021-12-01T01:35:50.727805+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3926</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>G. E. Pulsford</td>\n",
       "      <td>Pulsford, G. E.</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>6 rue Antoine Dubois, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.85126, 2.33967</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2020-01-01T20:35:51+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4152</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Jules Romains</td>\n",
       "      <td>Romains, Jules</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1885.0</td>\n",
       "      <td>1972.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/37053052</td>\n",
       "      <td>http://en.wikipedia.org/wiki/Jules_Romains</td>\n",
       "      <td>France</td>\n",
       "      <td>27 avenue René Coty, Paris;27 rue du Parc-de-M...</td>\n",
       "      <td>75014;75014</td>\n",
       "      <td>14;14</td>\n",
       "      <td>48.82908, 2.33473;</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2020-08-01T22:20:37+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4247</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Erik Satie</td>\n",
       "      <td>Satie, Erik</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1866.0</td>\n",
       "      <td>1925.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/88805508</td>\n",
       "      <td>http://en.wikipedia.org/wiki/Erik_Satie</td>\n",
       "      <td>France</td>\n",
       "      <td>34 rue Cauchy, Arcueil;Arcueil-Cachan, Paris</td>\n",
       "      <td>94110;</td>\n",
       "      <td>;</td>\n",
       "      <td>48.80369, 2.33400;</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:37+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4920</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Visser</td>\n",
       "      <td>Visser, Mrs.</td>\n",
       "      <td>Mrs.</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>206 boulevard Saint-Germain, Paris</td>\n",
       "      <td>75007</td>\n",
       "      <td>7</td>\n",
       "      <td>48.85528, 2.32902</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2021-11-19T13:30:03.089596+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5109</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Romer Wilson</td>\n",
       "      <td>Wilson, Romer</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1891.0</td>\n",
       "      <td>1930.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/35347214</td>\n",
       "      <td>https://en.wikipedia.org/wiki/Romer_Wilson</td>\n",
       "      <td>United Kingdom</td>\n",
       "      <td>Hôtel Récamier, 3 bis place Saint-Sulpice, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.85074, 2.33427</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2021-11-19T14:15:45.426887+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5175</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Julia Wright</td>\n",
       "      <td>Wright, Julia</td>\n",
       "      <td>Miss</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1942.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>http://viaf.org/viaf/88105289</td>\n",
       "      <td>NaN</td>\n",
       "      <td>United States</td>\n",
       "      <td>14 rue Monsieur le Prince, Paris</td>\n",
       "      <td>75006</td>\n",
       "      <td>6</td>\n",
       "      <td>48.85045, 2.33953</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-12-29T01:37:56+00:00</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                    uri  \\\n",
       "101   https://shakespeareandco.princeton.edu/members...   \n",
       "136   https://shakespeareandco.princeton.edu/members...   \n",
       "152   https://shakespeareandco.princeton.edu/members...   \n",
       "210   https://shakespeareandco.princeton.edu/members...   \n",
       "215   https://shakespeareandco.princeton.edu/members...   \n",
       "371   https://shakespeareandco.princeton.edu/members...   \n",
       "392   https://shakespeareandco.princeton.edu/members...   \n",
       "501   https://shakespeareandco.princeton.edu/members...   \n",
       "604   https://shakespeareandco.princeton.edu/members...   \n",
       "632   https://shakespeareandco.princeton.edu/members...   \n",
       "648   https://shakespeareandco.princeton.edu/members...   \n",
       "710   https://shakespeareandco.princeton.edu/members...   \n",
       "761   https://shakespeareandco.princeton.edu/members...   \n",
       "797   https://shakespeareandco.princeton.edu/members...   \n",
       "873   https://shakespeareandco.princeton.edu/members...   \n",
       "1099  https://shakespeareandco.princeton.edu/members...   \n",
       "1101  https://shakespeareandco.princeton.edu/members...   \n",
       "1111  https://shakespeareandco.princeton.edu/members...   \n",
       "1125  https://shakespeareandco.princeton.edu/members...   \n",
       "1147  https://shakespeareandco.princeton.edu/members...   \n",
       "1155  https://shakespeareandco.princeton.edu/members...   \n",
       "1184  https://shakespeareandco.princeton.edu/members...   \n",
       "1227  https://shakespeareandco.princeton.edu/members...   \n",
       "1261  https://shakespeareandco.princeton.edu/members...   \n",
       "1428  https://shakespeareandco.princeton.edu/members...   \n",
       "1429  https://shakespeareandco.princeton.edu/members...   \n",
       "1436  https://shakespeareandco.princeton.edu/members...   \n",
       "1467  https://shakespeareandco.princeton.edu/members...   \n",
       "1509  https://shakespeareandco.princeton.edu/members...   \n",
       "1561  https://shakespeareandco.princeton.edu/members...   \n",
       "1647  https://shakespeareandco.princeton.edu/members...   \n",
       "1682  https://shakespeareandco.princeton.edu/members...   \n",
       "1757  https://shakespeareandco.princeton.edu/members...   \n",
       "1765  https://shakespeareandco.princeton.edu/members...   \n",
       "1992  https://shakespeareandco.princeton.edu/members...   \n",
       "2045  https://shakespeareandco.princeton.edu/members...   \n",
       "2190  https://shakespeareandco.princeton.edu/members...   \n",
       "2245  https://shakespeareandco.princeton.edu/members...   \n",
       "2293  https://shakespeareandco.princeton.edu/members...   \n",
       "2324  https://shakespeareandco.princeton.edu/members...   \n",
       "2353  https://shakespeareandco.princeton.edu/members...   \n",
       "2381  https://shakespeareandco.princeton.edu/members...   \n",
       "2435  https://shakespeareandco.princeton.edu/members...   \n",
       "2590  https://shakespeareandco.princeton.edu/members...   \n",
       "2800  https://shakespeareandco.princeton.edu/members...   \n",
       "2988  https://shakespeareandco.princeton.edu/members...   \n",
       "3149  https://shakespeareandco.princeton.edu/members...   \n",
       "3162  https://shakespeareandco.princeton.edu/members...   \n",
       "3194  https://shakespeareandco.princeton.edu/members...   \n",
       "3338  https://shakespeareandco.princeton.edu/members...   \n",
       "3436  https://shakespeareandco.princeton.edu/members...   \n",
       "3579  https://shakespeareandco.princeton.edu/members...   \n",
       "3926  https://shakespeareandco.princeton.edu/members...   \n",
       "4152  https://shakespeareandco.princeton.edu/members...   \n",
       "4247  https://shakespeareandco.princeton.edu/members...   \n",
       "4920  https://shakespeareandco.princeton.edu/members...   \n",
       "5109  https://shakespeareandco.princeton.edu/members...   \n",
       "5175  https://shakespeareandco.princeton.edu/members...   \n",
       "\n",
       "                                           name                sort_name  \\\n",
       "101                                Louis Aragon            Aragon, Louis   \n",
       "136                                 Louis Atlas             Atlas, Louis   \n",
       "152                             Jacob Auslander         Auslander, Jacob   \n",
       "210                                  Mme Baquis              Baquis, Mme   \n",
       "215                                Jean Barbier            Barbier, Jean   \n",
       "371                                   Miss Best               Best, Miss   \n",
       "392                                 Hans Bieler             Bieler, Hans   \n",
       "501                                  Mlle Boscq              Boscq, Mlle   \n",
       "604                             Catherine Brody         Brody, Catherine   \n",
       "632   Colette Brull-Ulmann / Mlle Colette Brull    Brull-Ulmann, Colette   \n",
       "648                                      Bryher                   Bryher   \n",
       "710                         Mlle Busson-Leblanc     Busson-Leblanc, Mlle   \n",
       "761                            Maria Canavaggia        Canavaggia, Maria   \n",
       "797                               Carl Cartland           Cartland, Carl   \n",
       "873                        Mme Martin Chauffier    Chauffier, Mme Martin   \n",
       "1099                                 Mr. Crozet              Crozet, Mr.   \n",
       "1101                                 Mme Cuénod              Cuénod, Mme   \n",
       "1111                             Henry Cummings          Cummings, Henry   \n",
       "1125                             Edward Cushing          Cushing, Edward   \n",
       "1147                           Reymonde Darling        Darling, Reymonde   \n",
       "1155                                René Daumal             Daumal, René   \n",
       "1184                                  Miss Daws               Daws, Miss   \n",
       "1227                                Mme Degains             Degains, Mme   \n",
       "1261                                  Mrs. Dell               Dell, Mrs.   \n",
       "1428                         Mrs. J. F. Douglas      Douglas, Mrs. J. F.   \n",
       "1429                              V. A. Douglas           Douglas, V. A.   \n",
       "1436                                 Mr. Doyley              Doyley, Mr.   \n",
       "1467                                 Mr. Dufour              Dufour, Mr.   \n",
       "1509                                Luc Durtain             Durtain, Luc   \n",
       "1561                             E. Eisenschitz          Eisenschitz, E.   \n",
       "1647                               Emmanuel Fay            Fay, Emmanuel   \n",
       "1682                               R. S. Finney            Finney, R. S.   \n",
       "1757                               M. Fournerey            Fournerey, M.   \n",
       "1765                                  Mlle Foyé               Foyé, Mlle   \n",
       "1992                     Herbert Sherman Gorman  Gorman, Herbert Sherman   \n",
       "2045                               A. K. Griggs            Griggs, A. K.   \n",
       "2190                             Allanah Harper          Harper, Allanah   \n",
       "2245                                  Jane Heap               Heap, Jane   \n",
       "2293                                 Mr. Hersch              Hersch, Mr.   \n",
       "2324                              G. W. Higgins           Higgins, G. W.   \n",
       "2353                              Leigh Hoffman           Hoffman, Leigh   \n",
       "2381                             Bernard Hommel          Hommel, Bernard   \n",
       "2435                               Alice Hughes            Hughes, Alice   \n",
       "2590                               Louis Jouvet            Jouvet, Louis   \n",
       "2800                             Valery Larbaud          Larbaud, Valery   \n",
       "2988                                   Mme Lion                Lion, Mme   \n",
       "3149                               Mme Mannette            Mannette, Mme   \n",
       "3162                            George Margolin         Margolin, George   \n",
       "3194                       Juan Ramón Masoliver    Masoliver, Juan Ramón   \n",
       "3338                             Mlle Mercoiret          Mercoiret, Mlle   \n",
       "3436                                Mme le Moal             Moal, Mme le   \n",
       "3579                            Margaret Newitt         Newitt, Margaret   \n",
       "3926                             G. E. Pulsford          Pulsford, G. E.   \n",
       "4152                              Jules Romains           Romains, Jules   \n",
       "4247                                 Erik Satie              Satie, Erik   \n",
       "4920                                Mrs. Visser             Visser, Mrs.   \n",
       "5109                               Romer Wilson            Wilson, Romer   \n",
       "5175                               Julia Wright            Wright, Julia   \n",
       "\n",
       "     title  gender  is_organization  has_card  birth_year  death_year  \\\n",
       "101    NaN    Male            False      True      1897.0      1982.0   \n",
       "136    NaN    Male            False     False         NaN         NaN   \n",
       "152    Mr.    Male            False     False         NaN         NaN   \n",
       "210    Mme  Female            False     False         NaN         NaN   \n",
       "215     M.    Male            False     False         NaN         NaN   \n",
       "371   Miss  Female            False     False         NaN         NaN   \n",
       "392    Dr.    Male            False     False         NaN         NaN   \n",
       "501   Mlle  Female            False     False         NaN         NaN   \n",
       "604   Miss  Female            False     False         NaN         NaN   \n",
       "632   Mlle  Female            False      True      1920.0         NaN   \n",
       "648    NaN  Female            False      True      1894.0      1983.0   \n",
       "710   Mlle  Female            False     False         NaN         NaN   \n",
       "761   Mlle  Female            False     False      1896.0      1976.0   \n",
       "797    Mr.    Male            False     False         NaN         NaN   \n",
       "873    Mme  Female            False     False         NaN         NaN   \n",
       "1099   Mr.    Male            False     False         NaN         NaN   \n",
       "1101   Mme  Female            False     False         NaN         NaN   \n",
       "1111   Mr.    Male            False     False         NaN         NaN   \n",
       "1125   Mr.    Male            False     False         NaN         NaN   \n",
       "1147  Mlle  Female            False     False         NaN         NaN   \n",
       "1155   NaN    Male            False      True      1908.0      1944.0   \n",
       "1184  Miss  Female            False     False         NaN         NaN   \n",
       "1227   Mme  Female            False     False         NaN         NaN   \n",
       "1261  Mrs.  Female            False     False         NaN         NaN   \n",
       "1428  Mrs.  Female            False     False         NaN         NaN   \n",
       "1429  Miss  Female            False     False         NaN         NaN   \n",
       "1436   Mr.    Male            False     False         NaN         NaN   \n",
       "1467   Mr.    Male            False      True         NaN         NaN   \n",
       "1509    M.    Male            False     False      1881.0      1959.0   \n",
       "1561  Mlle  Female            False     False         NaN         NaN   \n",
       "1647   Mr.    Male            False     False         NaN         NaN   \n",
       "1682   NaN     NaN            False     False         NaN         NaN   \n",
       "1757    M.    Male            False      True         NaN         NaN   \n",
       "1765  Mlle  Female            False     False         NaN         NaN   \n",
       "1992   NaN    Male            False     False      1893.0      1954.0   \n",
       "2045   Mr.    Male            False     False         NaN         NaN   \n",
       "2190   NaN  Female            False      True      1904.0      1992.0   \n",
       "2245  Miss  Female            False     False      1883.0      1964.0   \n",
       "2293   Mr.    Male            False     False         NaN         NaN   \n",
       "2324   Mr.    Male            False     False         NaN         NaN   \n",
       "2353   NaN    Male            False     False         NaN         NaN   \n",
       "2381   NaN    Male            False      True      1925.0      2013.0   \n",
       "2435  Miss  Female            False     False         NaN         NaN   \n",
       "2590    M.    Male            False     False      1887.0      1951.0   \n",
       "2800   NaN    Male            False      True      1881.0      1957.0   \n",
       "2988   Mme  Female            False     False         NaN         NaN   \n",
       "3149   Mme  Female            False     False         NaN         NaN   \n",
       "3162   Mr.    Male            False     False         NaN         NaN   \n",
       "3194   NaN    Male            False      True      1910.0      1997.0   \n",
       "3338  Mlle  Female            False     False         NaN         NaN   \n",
       "3436   Mme  Female            False      True         NaN         NaN   \n",
       "3579   NaN  Female            False     False      1914.0      1985.0   \n",
       "3926   Mr.    Male            False      True         NaN         NaN   \n",
       "4152   NaN    Male            False      True      1885.0      1972.0   \n",
       "4247   NaN    Male            False      True      1866.0      1925.0   \n",
       "4920  Mrs.  Female            False      True         NaN         NaN   \n",
       "5109   NaN  Female            False      True      1891.0      1930.0   \n",
       "5175  Miss  Female            False      True      1942.0         NaN   \n",
       "\n",
       "     membership_years                                     viaf_url  \\\n",
       "101               NaN                 http://viaf.org/viaf/8178518   \n",
       "136               NaN                                          NaN   \n",
       "152               NaN                                          NaN   \n",
       "210               NaN                                          NaN   \n",
       "215               NaN                                          NaN   \n",
       "371               NaN                                          NaN   \n",
       "392               NaN                                          NaN   \n",
       "501               NaN                                          NaN   \n",
       "604               NaN                                          NaN   \n",
       "632               NaN  http://viaf.org/viaf/166152138619610981032/   \n",
       "648               NaN               http://viaf.org/viaf/111923629   \n",
       "710               NaN                                          NaN   \n",
       "761               NaN               http://viaf.org/viaf/51686702/   \n",
       "797               NaN                                          NaN   \n",
       "873               NaN                                          NaN   \n",
       "1099              NaN                                          NaN   \n",
       "1101              NaN                                          NaN   \n",
       "1111              NaN                                          NaN   \n",
       "1125              NaN                                          NaN   \n",
       "1147              NaN                                          NaN   \n",
       "1155              NaN                http://viaf.org/viaf/24600269   \n",
       "1184              NaN                                          NaN   \n",
       "1227              NaN                                          NaN   \n",
       "1261              NaN                                          NaN   \n",
       "1428              NaN                                          NaN   \n",
       "1429              NaN                                          NaN   \n",
       "1436              NaN                                          NaN   \n",
       "1467              NaN                                          NaN   \n",
       "1509              NaN                http://viaf.org/viaf/7453684/   \n",
       "1561              NaN                                          NaN   \n",
       "1647              NaN                                          NaN   \n",
       "1682              NaN                                          NaN   \n",
       "1757              NaN                                          NaN   \n",
       "1765              NaN                                          NaN   \n",
       "1992              NaN               http://viaf.org/viaf/37071397/   \n",
       "2045              NaN                                          NaN   \n",
       "2190              NaN                http://viaf.org/viaf/93079137   \n",
       "2245              NaN                http://viaf.org/viaf/8303119/   \n",
       "2293              NaN                                          NaN   \n",
       "2324              NaN                                          NaN   \n",
       "2353              NaN                                          NaN   \n",
       "2381              NaN                                          NaN   \n",
       "2435              NaN                                          NaN   \n",
       "2590              NaN               http://viaf.org/viaf/41841996/   \n",
       "2800              NaN                   http://viaf.org/viaf/13334   \n",
       "2988              NaN                                          NaN   \n",
       "3149              NaN                                          NaN   \n",
       "3162              NaN                                          NaN   \n",
       "3194              NaN                http://viaf.org/viaf/60665573   \n",
       "3338              NaN                                          NaN   \n",
       "3436              NaN                                          NaN   \n",
       "3579              NaN                                          NaN   \n",
       "3926              NaN                                          NaN   \n",
       "4152              NaN                http://viaf.org/viaf/37053052   \n",
       "4247              NaN                http://viaf.org/viaf/88805508   \n",
       "4920              NaN                                          NaN   \n",
       "5109              NaN                http://viaf.org/viaf/35347214   \n",
       "5175              NaN                http://viaf.org/viaf/88105289   \n",
       "\n",
       "                                          wikipedia_url  \\\n",
       "101           http://en.wikipedia.org/wiki/Louis_Aragon   \n",
       "136                                                 NaN   \n",
       "152                                                 NaN   \n",
       "210                                                 NaN   \n",
       "215                                                 NaN   \n",
       "371                                                 NaN   \n",
       "392                                                 NaN   \n",
       "501                                                 NaN   \n",
       "604                                                 NaN   \n",
       "632   https://fr.wikipedia.org/wiki/Colette_Brull-Ul...   \n",
       "648     https://en.wikipedia.org/wiki/Bryher_(novelist)   \n",
       "710                                                 NaN   \n",
       "761      https://en.wikipedia.org/wiki/Marie_Canavaggia   \n",
       "797                                                 NaN   \n",
       "873                                                 NaN   \n",
       "1099                                                NaN   \n",
       "1101                                                NaN   \n",
       "1111                                                NaN   \n",
       "1125                                                NaN   \n",
       "1147                                                NaN   \n",
       "1155     https://en.wikipedia.org/wiki/Ren%C3%A9_Daumal   \n",
       "1184                                                NaN   \n",
       "1227                                                NaN   \n",
       "1261                                                NaN   \n",
       "1428                                                NaN   \n",
       "1429                                                NaN   \n",
       "1436                                                NaN   \n",
       "1467                                                NaN   \n",
       "1509          https://fr.wikipedia.org/wiki/Luc_Durtain   \n",
       "1561                                                NaN   \n",
       "1647                                                NaN   \n",
       "1682                                                NaN   \n",
       "1757                                                NaN   \n",
       "1765                                                NaN   \n",
       "1992       https://es.wikipedia.org/wiki/Herbert_Gorman   \n",
       "2045                                                NaN   \n",
       "2190       https://en.wikipedia.org/wiki/Allanah_Harper   \n",
       "2245            https://en.wikipedia.org/wiki/Jane_Heap   \n",
       "2293                                                NaN   \n",
       "2324                                                NaN   \n",
       "2353                                                NaN   \n",
       "2381                                                NaN   \n",
       "2435                                                NaN   \n",
       "2590         https://en.wikipedia.org/wiki/Louis_Jouvet   \n",
       "2800        http://en.wikipedia.org/wiki/Valery_Larbaud   \n",
       "2988                                                NaN   \n",
       "3149                                                NaN   \n",
       "3162                                                NaN   \n",
       "3194  https://es.wikipedia.org/wiki/Juan_Ram%C3%B3n_...   \n",
       "3338                                                NaN   \n",
       "3436                                                NaN   \n",
       "3579                                                NaN   \n",
       "3926                                                NaN   \n",
       "4152         http://en.wikipedia.org/wiki/Jules_Romains   \n",
       "4247            http://en.wikipedia.org/wiki/Erik_Satie   \n",
       "4920                                                NaN   \n",
       "5109         https://en.wikipedia.org/wiki/Romer_Wilson   \n",
       "5175                                                NaN   \n",
       "\n",
       "              nationalities  \\\n",
       "101                  France   \n",
       "136                     NaN   \n",
       "152                     NaN   \n",
       "210                     NaN   \n",
       "215                     NaN   \n",
       "371                     NaN   \n",
       "392                     NaN   \n",
       "501                     NaN   \n",
       "604                     NaN   \n",
       "632                  France   \n",
       "648          United Kingdom   \n",
       "710                     NaN   \n",
       "761                  France   \n",
       "797                     NaN   \n",
       "873                     NaN   \n",
       "1099                    NaN   \n",
       "1101                    NaN   \n",
       "1111                    NaN   \n",
       "1125                    NaN   \n",
       "1147                    NaN   \n",
       "1155                 France   \n",
       "1184                    NaN   \n",
       "1227                    NaN   \n",
       "1261                    NaN   \n",
       "1428                    NaN   \n",
       "1429                    NaN   \n",
       "1436                    NaN   \n",
       "1467                 France   \n",
       "1509                 France   \n",
       "1561                    NaN   \n",
       "1647                    NaN   \n",
       "1682                    NaN   \n",
       "1757                    NaN   \n",
       "1765                    NaN   \n",
       "1992          United States   \n",
       "2045                    NaN   \n",
       "2190         United Kingdom   \n",
       "2245          United States   \n",
       "2293                    NaN   \n",
       "2324                    NaN   \n",
       "2353                    NaN   \n",
       "2381          United States   \n",
       "2435                    NaN   \n",
       "2590                 France   \n",
       "2800                 France   \n",
       "2988                    NaN   \n",
       "3149                    NaN   \n",
       "3162                    NaN   \n",
       "3194                  Spain   \n",
       "3338                    NaN   \n",
       "3436                    NaN   \n",
       "3579  Canada;United Kingdom   \n",
       "3926                    NaN   \n",
       "4152                 France   \n",
       "4247                 France   \n",
       "4920                    NaN   \n",
       "5109         United Kingdom   \n",
       "5175          United States   \n",
       "\n",
       "                                              addresses postal_codes  \\\n",
       "101              12 rue Saint-Pierre, Neuilly-sur-Seine        92200   \n",
       "136                        16 rue Jacques Callot, Paris        75006   \n",
       "152                        244 boulevard Raspail, Paris        75014   \n",
       "210        Hôtel l'Aiglon, 232 boulevard Raspail, Paris        75014   \n",
       "215         École Polytechnique, 5 rue Descartes, Paris        75005   \n",
       "371                125 avenue des Champs-Élysées, Paris        75008   \n",
       "392     Crystal Hotel Paris, 24 rue Saint-Benoît, Paris        75006   \n",
       "501   Lycée de jeunes filles, 6 rue Bourg les Bourgs...        29000   \n",
       "604                 9 rue de la Grande Chaumière, Paris        75006   \n",
       "632                  1 avenue du Général Maistre, Paris        75014   \n",
       "648                                                 NaN          NaN   \n",
       "710                   5 cité du Cardinal Lemoine, Paris        75005   \n",
       "761                      16 square de Port-Royal, Paris        75013   \n",
       "797                              35 rue Delambre, Paris        75014   \n",
       "873                           48 boulevard Soult, Paris        75012   \n",
       "1099                                                NaN          NaN   \n",
       "1101                               99 rue du Bac, Paris        75007   \n",
       "1111           Hotel de Paris, 6 rue de Verneuil, Paris        75007   \n",
       "1125                                                NaN          NaN   \n",
       "1147  Hôtel des Saints-Pères, 65 rue des Saints-Père...        75006   \n",
       "1155              La Nouvelle Revue Française, Sartilly        50530   \n",
       "1184            61 bis rue Notre Dame des Champs, Paris        75006   \n",
       "1227                             38 rue Dombasle, Paris        75015   \n",
       "1261         Hotel West End, 7 rue Clément Marot, Paris        75008   \n",
       "1428                         31 rue de Vaugirard, Paris        75006   \n",
       "1429                  151 boulevard de l'Hôpital, Paris        75013   \n",
       "1436  Hôtel Saint Germain des Prés, 36 rue Bonaparte...        75006   \n",
       "1467                      16 avenue Victor Hugo, Vanves        92170   \n",
       "1509  20 boulevard Barbès, Paris;La Bastide de Saint...  75018;83990   \n",
       "1561                     Les Minimes, La Valette-du-Var          NaN   \n",
       "1647                                                NaN          NaN   \n",
       "1682                  71 rue du Cardinal Lemoine, Paris        75005   \n",
       "1757  18 rue des Carmes, Orléans;Lycée Louis-le-Gran...  45000;75005   \n",
       "1765                       214 boulevard Raspail, Paris        75014   \n",
       "1992                                                NaN          NaN   \n",
       "2045                     61 rue des Saints-Pères, Paris        75006   \n",
       "2190                              14 rue Cassini, Paris        75014   \n",
       "2245                   Hotel Jacob, 44 rue Jacob, Paris        75006   \n",
       "2293                21 rue du Parc de Montsouris, Paris        75014   \n",
       "2324                             7 rue Lachelier, Paris        75013   \n",
       "2353                             5 rue Lamartine, Paris        75009   \n",
       "2381                           12 rue de l'Odéon, Paris        75006   \n",
       "2435                                20 rue Cujas, Paris        75005   \n",
       "2590  Comédie des Champs-Élysées / Théâtre des Champ...        75008   \n",
       "2800  71 rue du Cardinal Lemoine, Paris;Hiawatha Eas...       75005;   \n",
       "2988                         1 rue de la Planche, Paris        75007   \n",
       "3149      École normale supérieure, 45 rue d'Ulm, Paris        75005   \n",
       "3162                 Hôtel Racine, 23 rue Racine, Paris        75006   \n",
       "3194                       11 rue Claude Bernard, Paris        75005   \n",
       "3338                  12 boulevard de Port-Royal, Paris        75005   \n",
       "3436                                                NaN          NaN   \n",
       "3579                             1 rue Dupuytren, Paris        75006   \n",
       "3926                        6 rue Antoine Dubois, Paris        75006   \n",
       "4152  27 avenue René Coty, Paris;27 rue du Parc-de-M...  75014;75014   \n",
       "4247       34 rue Cauchy, Arcueil;Arcueil-Cachan, Paris       94110;   \n",
       "4920                 206 boulevard Saint-Germain, Paris        75007   \n",
       "5109   Hôtel Récamier, 3 bis place Saint-Sulpice, Paris        75006   \n",
       "5175                   14 rue Monsieur le Prince, Paris        75006   \n",
       "\n",
       "     arrondissements                           coordinates  \\\n",
       "101              NaN                     48.88241, 2.27120   \n",
       "136                6                     48.85536, 2.33694   \n",
       "152               14                     48.83832, 2.33068   \n",
       "210               14                     48.83966, 2.33008   \n",
       "215                5                     48.84716, 2.34874   \n",
       "371                8                     48.87251, 2.29788   \n",
       "392                6                     48.85445, 2.33271   \n",
       "501              NaN                    47.99391, -4.11150   \n",
       "604                6                     48.84226, 2.33080   \n",
       "632               14                     48.82538, 2.31392   \n",
       "648              NaN                                   NaN   \n",
       "710                5                     48.84870, 2.35303   \n",
       "761               13                     48.83684, 2.34356   \n",
       "797               14                     48.84135, 2.32606   \n",
       "873               12                     48.84078, 2.40925   \n",
       "1099             NaN                                   NaN   \n",
       "1101               7                     48.85320, 2.32389   \n",
       "1111               7                     48.85737, 2.33161   \n",
       "1125             NaN                                   NaN   \n",
       "1147               6                     48.85334, 2.33001   \n",
       "1155             NaN                    48.74121, -1.44656   \n",
       "1184               6                     48.84381, 2.33108   \n",
       "1227              15                     48.83577, 2.29928   \n",
       "1261               8                     48.86715, 2.30379   \n",
       "1428               6                     48.84807, 2.33085   \n",
       "1429              13                     48.83391, 2.35756   \n",
       "1436               6                     48.85509, 2.33358   \n",
       "1467             NaN                     48.82281, 2.28716   \n",
       "1509             18;   48.88497, 2.34971;43.26557, 6.63869   \n",
       "1561             NaN                                   NaN   \n",
       "1647             NaN                                   NaN   \n",
       "1682               5                     48.84554, 2.35023   \n",
       "1757              ;5   47.90176, 1.90050;48.84842, 2.34522   \n",
       "1765              14                     48.84116, 2.32975   \n",
       "1992             NaN                                   NaN   \n",
       "2045               6                     48.85364, 2.33006   \n",
       "2190              14                     48.83728, 2.33692   \n",
       "2245               6                     48.85596, 2.33333   \n",
       "2293              14                     48.82272, 2.33443   \n",
       "2324              13                     48.81982, 2.36587   \n",
       "2353               9                     48.87650, 2.34367   \n",
       "2381               6                     48.85092, 2.33845   \n",
       "2435               5                     48.84820, 2.34202   \n",
       "2590               8                     48.86571, 2.30314   \n",
       "2800              5;  48.84554, 2.35023;50.83421, -0.27156   \n",
       "2988               7                     48.85334, 2.32556   \n",
       "3149               5                     48.84184, 2.34403   \n",
       "3162               6                     48.84995, 2.33947   \n",
       "3194               5                     48.83882, 2.34924   \n",
       "3338               5                     48.83716, 2.35016   \n",
       "3436             NaN                                   NaN   \n",
       "3579               6                     48.85165, 2.33964   \n",
       "3926               6                     48.85126, 2.33967   \n",
       "4152           14;14                    48.82908, 2.33473;   \n",
       "4247               ;                    48.80369, 2.33400;   \n",
       "4920               7                     48.85528, 2.32902   \n",
       "5109               6                     48.85074, 2.33427   \n",
       "5175               6                     48.85045, 2.33953   \n",
       "\n",
       "                                                  notes  \\\n",
       "101                                                 NaN   \n",
       "136   According to the Shakespeare and Company [addr...   \n",
       "152   The Shakespeare and Company <a href=\"https://s...   \n",
       "210   The Shakespeare and Company <a href=\"https://s...   \n",
       "215   The Shakespeare and Company <a href=\"https://s...   \n",
       "371   The Shakespeare and Company <a href=\"https://s...   \n",
       "392   The Shakespeare and Company <a href=\"https://s...   \n",
       "501   The Shakespeare and Company <a href=\"https://s...   \n",
       "604   The Shakespeare and Company <a href=\"https://s...   \n",
       "632                                                 NaN   \n",
       "648                                                 NaN   \n",
       "710   The Shakespeare and Company <a href=\"https://s...   \n",
       "761   The Shakespeare and Company <a href=\"https://s...   \n",
       "797   The Shakespeare and Company <a href=\"https://s...   \n",
       "873   According to the Shakespeare and Company [addr...   \n",
       "1099  The Shakespeare and Company <a href=\"https://s...   \n",
       "1101  The Shakespeare and Company <a href=\"https://s...   \n",
       "1111  According to the Shakespeare and Company [addr...   \n",
       "1125  The Shakespeare and Company <a href=\"https://s...   \n",
       "1147  The Shakespeare and Company <a href=\"https://s...   \n",
       "1155                                                NaN   \n",
       "1184  The Shakespeare and Company <a href=\"https://s...   \n",
       "1227  The Shakespeare and Company <a href=\"https://s...   \n",
       "1261  The Shakespeare and Company <a href=\"https://s...   \n",
       "1428  The Shakespeare and Company <a href=\"https://s...   \n",
       "1429  The Shakespeare and Company <a href=\"https://s...   \n",
       "1436  The Shakepeare and Company <a href=\"https://sh...   \n",
       "1467                                                NaN   \n",
       "1509  The Shakespeare and Company <a href=\"https://s...   \n",
       "1561  According to the Shakespeare and Company [addr...   \n",
       "1647  The Shakespeare and Company <a href=\"https://s...   \n",
       "1682  The Shakespeare and Company <a href=\"https://s...   \n",
       "1757                                                NaN   \n",
       "1765  The Shakespeare and Company <a href=\"https://s...   \n",
       "1992  The Shakespeare and Company <a href=\"https://s...   \n",
       "2045  The Shakespeare and Company <a href=\"https://s...   \n",
       "2190                                                NaN   \n",
       "2245  The Shakespeare and Company <a href=\"https://s...   \n",
       "2293  The Shakespeare and Company <a href=\"https://s...   \n",
       "2324  According to the Shakespeare and Company [addr...   \n",
       "2353  The Shakespeare and Company <a href=\"https://s...   \n",
       "2381                                                NaN   \n",
       "2435  The Shakespeare and Company <a href=\"https://s...   \n",
       "2590  According to the Shakespeare and Company [addr...   \n",
       "2800                                                NaN   \n",
       "2988  The Shakespeare and Company <a href=\"https://s...   \n",
       "3149  The Shakespeare and Company <a href=\"https://s...   \n",
       "3162  The Shakespeare and Company <a href=\"https://s...   \n",
       "3194                                                NaN   \n",
       "3338  The Shakespeare and Company <a href=\"https://s...   \n",
       "3436                                                NaN   \n",
       "3579  According to the Shakespeare and Company [addr...   \n",
       "3926                                                NaN   \n",
       "4152                                                NaN   \n",
       "4247                                                NaN   \n",
       "4920                                                NaN   \n",
       "5109                                                NaN   \n",
       "5175                                                NaN   \n",
       "\n",
       "                               updated  \n",
       "101          2020-12-28T15:46:16+00:00  \n",
       "136   2021-09-23T12:11:31.262776+00:00  \n",
       "152   2021-10-28T17:47:21.441317+00:00  \n",
       "210          2021-08-15T01:50:35+00:00  \n",
       "215   2021-11-22T13:16:42.333372+00:00  \n",
       "371   2021-10-28T13:12:01.090477+00:00  \n",
       "392          2021-08-02T01:31:28+00:00  \n",
       "501          2021-07-27T00:13:44+00:00  \n",
       "604          2021-07-28T18:06:55+00:00  \n",
       "632          2021-02-28T13:54:56+00:00  \n",
       "648          2021-02-28T13:56:07+00:00  \n",
       "710          2021-08-02T21:07:35+00:00  \n",
       "761          2021-08-05T01:03:02+00:00  \n",
       "797   2021-10-28T13:11:20.441505+00:00  \n",
       "873   2021-09-23T12:11:48.969085+00:00  \n",
       "1099         2021-08-12T14:08:37+00:00  \n",
       "1101         2021-08-12T14:13:59+00:00  \n",
       "1111  2021-09-23T12:14:20.341830+00:00  \n",
       "1125         2021-08-13T01:13:31+00:00  \n",
       "1147         2021-08-17T00:46:46+00:00  \n",
       "1155         2021-02-28T19:17:44+00:00  \n",
       "1184  2021-10-28T13:10:00.115639+00:00  \n",
       "1227  2021-11-26T03:16:22.479387+00:00  \n",
       "1261         2021-08-19T12:38:36+00:00  \n",
       "1428         2021-08-22T17:48:04+00:00  \n",
       "1429         2021-08-22T17:52:19+00:00  \n",
       "1436         2021-08-21T11:38:17+00:00  \n",
       "1467         2021-08-23T01:35:58+00:00  \n",
       "1509         2021-08-22T21:02:47+00:00  \n",
       "1561  2021-09-23T12:16:20.123442+00:00  \n",
       "1647         2021-08-27T18:47:57+00:00  \n",
       "1682         2021-08-29T18:46:05+00:00  \n",
       "1757         2021-08-29T16:27:07+00:00  \n",
       "1765         2021-08-29T16:45:35+00:00  \n",
       "1992         2021-09-06T01:42:59+00:00  \n",
       "2045         2021-09-05T19:30:30+00:00  \n",
       "2190         2020-07-19T18:30:26+00:00  \n",
       "2245         2021-09-16T02:38:23+00:00  \n",
       "2293  2021-11-22T13:28:47.569604+00:00  \n",
       "2324  2021-09-23T12:15:26.177226+00:00  \n",
       "2353  2021-11-21T18:07:58.679615+00:00  \n",
       "2381  2021-11-19T13:15:28.525057+00:00  \n",
       "2435         2021-09-15T01:58:19+00:00  \n",
       "2590  2021-09-21T02:02:41.087820+00:00  \n",
       "2800  2021-09-27T03:55:20.823664+00:00  \n",
       "2988  2021-11-16T15:36:38.655056+00:00  \n",
       "3149  2021-10-05T03:30:52.510015+00:00  \n",
       "3162  2021-10-16T12:59:25.003943+00:00  \n",
       "3194         2019-11-19T14:47:34+00:00  \n",
       "3338  2021-10-09T00:02:10.519235+00:00  \n",
       "3436         2021-01-01T17:36:41+00:00  \n",
       "3579  2021-12-01T01:35:50.727805+00:00  \n",
       "3926         2020-01-01T20:35:51+00:00  \n",
       "4152         2020-08-01T22:20:37+00:00  \n",
       "4247         2019-11-19T14:47:37+00:00  \n",
       "4920  2021-11-19T13:30:03.089596+00:00  \n",
       "5109  2021-11-19T14:15:45.426887+00:00  \n",
       "5175         2019-12-29T01:37:56+00:00  "
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    " no_membership_years = members_df[members_df['membership_years'].isnull()]\n",
    "print('%d members with no membership years' % len(no_membership_years))\n",
    "no_membership_years\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "pNfrK9DymXFC"
   },
   "source": [
    "## members from 1.1 no longer included in 1.2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {
    "id": "DF9vmo8Mk-5r"
   },
   "outputs": [],
   "source": [
    "# load 1.0 data from published version\n",
    "events_v1_df = pd.read_csv('https://dataspace.princeton.edu/bitstream/88435/dsp013484zk85z/2/SCoData_events_v1_2020-07.csv')\n",
    "books_v1_df = pd.read_csv('https://dataspace.princeton.edu/jspui/bitstream/88435/dsp016w924f76z/6/SCoData_books_v1_2020-07.csv')\n",
    "members_v1_df = pd.read_csv('https://dataspace.princeton.edu/bitstream/88435/dsp0105741v63x/7/SCoData_members_v1_2020-07.csv')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 766
    },
    "id": "K5bn1rdRmVvd",
    "outputId": "22bf5894-343d-4273-cc39-03b6e7a990f3"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>uri</th>\n",
       "      <th>name</th>\n",
       "      <th>sort_name</th>\n",
       "      <th>title</th>\n",
       "      <th>gender</th>\n",
       "      <th>is_organization</th>\n",
       "      <th>has_card</th>\n",
       "      <th>birth_year</th>\n",
       "      <th>death_year</th>\n",
       "      <th>membership_years</th>\n",
       "      <th>viaf_url</th>\n",
       "      <th>wikipedia_url</th>\n",
       "      <th>nationalities</th>\n",
       "      <th>addresses</th>\n",
       "      <th>postal_codes</th>\n",
       "      <th>arrondissements</th>\n",
       "      <th>coordinates</th>\n",
       "      <th>notes</th>\n",
       "      <th>updated</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme Abreu</td>\n",
       "      <td>Abreu, Mme</td>\n",
       "      <td>Mme</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>68 rue Bellechasse, Paris</td>\n",
       "      <td>75007</td>\n",
       "      <td>7</td>\n",
       "      <td>48.85574, 2.32019</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2020-02-22T17:49:55+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Sam Acheson</td>\n",
       "      <td>Acheson, Sam</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1924</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>United States</td>\n",
       "      <td>14 rue Lentonnet, Paris</td>\n",
       "      <td>75009</td>\n",
       "      <td>9</td>\n",
       "      <td>48.87997, 2.34754</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2020-01-24T18:19:15+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Aetkin</td>\n",
       "      <td>Aetkin</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1929</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:28+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Aguillera</td>\n",
       "      <td>Aguillera</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1940</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:28+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Aiderman</td>\n",
       "      <td>Aiderman</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1939</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:28+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5681</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Catherine Yarrow</td>\n",
       "      <td>Yarrow, Catherine</td>\n",
       "      <td>Mlle</td>\n",
       "      <td>Female</td>\n",
       "      <td>False</td>\n",
       "      <td>True</td>\n",
       "      <td>1904.0</td>\n",
       "      <td>1990.0</td>\n",
       "      <td>1934;1935;1936;1937;1938;1939;1940</td>\n",
       "      <td>http://viaf.org/viaf/314926572</td>\n",
       "      <td>https://en.wikipedia.org/wiki/Catherine_Yarrow</td>\n",
       "      <td>United States</td>\n",
       "      <td>Hôtel des Saints-Pères, 65 rue des Saints-Père...</td>\n",
       "      <td>75006;75006;75006</td>\n",
       "      <td>6;6;6</td>\n",
       "      <td>48.85334, 2.33001;48.84575, 2.32169;48.85359, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2020-07-20T15:18:48+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5691</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Yeeger</td>\n",
       "      <td>Yeeger</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1941</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:39+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5711</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Zanborn</td>\n",
       "      <td>Zanborn</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1927</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:39+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5712</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Zandel</td>\n",
       "      <td>Zandel</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1929</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-11-19T14:47:39+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5719</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Zetlin</td>\n",
       "      <td>Zetlin, Mr.</td>\n",
       "      <td>Mr.</td>\n",
       "      <td>Male</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1925</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2019-12-27T00:25:55+00:00</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1908 rows × 19 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                    uri              name  \\\n",
       "8     https://shakespeareandco.princeton.edu/members...         Mme Abreu   \n",
       "11    https://shakespeareandco.princeton.edu/members...       Sam Acheson   \n",
       "31    https://shakespeareandco.princeton.edu/members...            Aetkin   \n",
       "35    https://shakespeareandco.princeton.edu/members...         Aguillera   \n",
       "36    https://shakespeareandco.princeton.edu/members...          Aiderman   \n",
       "...                                                 ...               ...   \n",
       "5681  https://shakespeareandco.princeton.edu/members...  Catherine Yarrow   \n",
       "5691  https://shakespeareandco.princeton.edu/members...            Yeeger   \n",
       "5711  https://shakespeareandco.princeton.edu/members...           Zanborn   \n",
       "5712  https://shakespeareandco.princeton.edu/members...            Zandel   \n",
       "5719  https://shakespeareandco.princeton.edu/members...        Mr. Zetlin   \n",
       "\n",
       "              sort_name title  gender  is_organization  has_card  birth_year  \\\n",
       "8            Abreu, Mme   Mme  Female            False     False         NaN   \n",
       "11         Acheson, Sam   Mr.    Male            False     False         NaN   \n",
       "31               Aetkin   NaN     NaN            False     False         NaN   \n",
       "35            Aguillera   NaN     NaN            False     False         NaN   \n",
       "36             Aiderman   NaN     NaN            False     False         NaN   \n",
       "...                 ...   ...     ...              ...       ...         ...   \n",
       "5681  Yarrow, Catherine  Mlle  Female            False      True      1904.0   \n",
       "5691             Yeeger   NaN     NaN            False     False         NaN   \n",
       "5711            Zanborn   NaN     NaN            False     False         NaN   \n",
       "5712             Zandel   NaN     NaN            False     False         NaN   \n",
       "5719        Zetlin, Mr.   Mr.    Male            False     False         NaN   \n",
       "\n",
       "      death_year                    membership_years  \\\n",
       "8            NaN                                1922   \n",
       "11           NaN                                1924   \n",
       "31           NaN                                1929   \n",
       "35           NaN                                1940   \n",
       "36           NaN                                1939   \n",
       "...          ...                                 ...   \n",
       "5681      1990.0  1934;1935;1936;1937;1938;1939;1940   \n",
       "5691         NaN                                1941   \n",
       "5711         NaN                                1927   \n",
       "5712         NaN                                1929   \n",
       "5719         NaN                                1925   \n",
       "\n",
       "                            viaf_url  \\\n",
       "8                                NaN   \n",
       "11                               NaN   \n",
       "31                               NaN   \n",
       "35                               NaN   \n",
       "36                               NaN   \n",
       "...                              ...   \n",
       "5681  http://viaf.org/viaf/314926572   \n",
       "5691                             NaN   \n",
       "5711                             NaN   \n",
       "5712                             NaN   \n",
       "5719                             NaN   \n",
       "\n",
       "                                       wikipedia_url  nationalities  \\\n",
       "8                                                NaN            NaN   \n",
       "11                                               NaN  United States   \n",
       "31                                               NaN            NaN   \n",
       "35                                               NaN            NaN   \n",
       "36                                               NaN            NaN   \n",
       "...                                              ...            ...   \n",
       "5681  https://en.wikipedia.org/wiki/Catherine_Yarrow  United States   \n",
       "5691                                             NaN            NaN   \n",
       "5711                                             NaN            NaN   \n",
       "5712                                             NaN            NaN   \n",
       "5719                                             NaN            NaN   \n",
       "\n",
       "                                              addresses       postal_codes  \\\n",
       "8                             68 rue Bellechasse, Paris              75007   \n",
       "11                              14 rue Lentonnet, Paris              75009   \n",
       "31                                                  NaN                NaN   \n",
       "35                                                  NaN                NaN   \n",
       "36                                                  NaN                NaN   \n",
       "...                                                 ...                ...   \n",
       "5681  Hôtel des Saints-Pères, 65 rue des Saints-Père...  75006;75006;75006   \n",
       "5691                                                NaN                NaN   \n",
       "5711                                                NaN                NaN   \n",
       "5712                                                NaN                NaN   \n",
       "5719                                                NaN                NaN   \n",
       "\n",
       "     arrondissements                                        coordinates notes  \\\n",
       "8                  7                                  48.85574, 2.32019   NaN   \n",
       "11                 9                                  48.87997, 2.34754   NaN   \n",
       "31               NaN                                                NaN   NaN   \n",
       "35               NaN                                                NaN   NaN   \n",
       "36               NaN                                                NaN   NaN   \n",
       "...              ...                                                ...   ...   \n",
       "5681           6;6;6  48.85334, 2.33001;48.84575, 2.32169;48.85359, ...   NaN   \n",
       "5691             NaN                                                NaN   NaN   \n",
       "5711             NaN                                                NaN   NaN   \n",
       "5712             NaN                                                NaN   NaN   \n",
       "5719             NaN                                                NaN   NaN   \n",
       "\n",
       "                        updated  \n",
       "8     2020-02-22T17:49:55+00:00  \n",
       "11    2020-01-24T18:19:15+00:00  \n",
       "31    2019-11-19T14:47:28+00:00  \n",
       "35    2019-11-19T14:47:28+00:00  \n",
       "36    2019-11-19T14:47:28+00:00  \n",
       "...                         ...  \n",
       "5681  2020-07-20T15:18:48+00:00  \n",
       "5691  2019-11-19T14:47:39+00:00  \n",
       "5711  2019-11-19T14:47:39+00:00  \n",
       "5712  2019-11-19T14:47:39+00:00  \n",
       "5719  2019-12-27T00:25:55+00:00  \n",
       "\n",
       "[1908 rows x 19 columns]"
      ]
     },
     "execution_count": 15,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "removed_members = members_v1_df[~members_v1_df.uri.isin(members_df.uri)]\n",
    "removed_members"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "oVEiBUjvwWtc"
   },
   "source": [
    "## addresses added in 1.2"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/"
    },
    "id": "ewcy1Y8RuyMd",
    "outputId": "bfa31087-6b0a-4892-b92f-fd1a990149ee"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "2750 members with addresses\n",
      "3227 total addresses\n",
      "\n",
      "1787 members with addresses (v1 dataset)\n",
      "2172 total addresses (v1)\n",
      "\n",
      "addresses added: 1055\n"
     ]
    }
   ],
   "source": [
    "members_df['address_count'] = members_df.addresses.apply(lambda x: len(x.split(';')) if(pd.notnull(x)) else 0)\n",
    "members_v1_df['address_count'] = members_v1_df.addresses.apply(lambda x: len(x.split(';')) if(pd.notnull(x)) else 0)\n",
    "\n",
    "print('%s members with addresses' % members_df[members_df.addresses.notna()].shape[0])\n",
    "print('%s total addresses' % members_df.address_count.sum())\n",
    "\n",
    "print('\\n%s members with addresses (v1 dataset)' % members_v1_df[members_v1_df.addresses.notna()].shape[0])\n",
    "print('%s total addresses (v1)' % members_v1_df.address_count.sum())\n",
    "\n",
    "print('\\naddresses added: %s' % (members_df.address_count.sum() - members_v1_df.address_count.sum(), ))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "fwTLfi-yA7FX"
   },
   "source": [
    "## members with active subscriptions by month\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 19,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 424
    },
    "id": "qy8QzkV_A2jv",
    "outputId": "f908f5b0-beba-4cb6-e1d4-fc6e47882142"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>month_start</th>\n",
       "      <th>month_end</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1919-11-01</td>\n",
       "      <td>1919-12-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1919-12-01</td>\n",
       "      <td>1920-01-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1920-01-01</td>\n",
       "      <td>1920-02-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1920-02-01</td>\n",
       "      <td>1920-03-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1920-03-01</td>\n",
       "      <td>1920-04-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>270</th>\n",
       "      <td>1942-05-01</td>\n",
       "      <td>1942-06-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>271</th>\n",
       "      <td>1942-06-01</td>\n",
       "      <td>1942-07-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>272</th>\n",
       "      <td>1942-07-01</td>\n",
       "      <td>1942-08-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>273</th>\n",
       "      <td>1942-08-01</td>\n",
       "      <td>1942-09-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>274</th>\n",
       "      <td>1942-09-01</td>\n",
       "      <td>1942-10-01</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>275 rows × 2 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    month_start  month_end\n",
       "0    1919-11-01 1919-12-01\n",
       "1    1919-12-01 1920-01-01\n",
       "2    1920-01-01 1920-02-01\n",
       "3    1920-02-01 1920-03-01\n",
       "4    1920-03-01 1920-04-01\n",
       "..          ...        ...\n",
       "270  1942-05-01 1942-06-01\n",
       "271  1942-06-01 1942-07-01\n",
       "272  1942-07-01 1942-08-01\n",
       "273  1942-08-01 1942-09-01\n",
       "274  1942-09-01 1942-10-01\n",
       "\n",
       "[275 rows x 2 columns]"
      ]
     },
     "execution_count": 19,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# recalculate active members using month range and unique member URIs\n",
    "from dateutil.relativedelta import relativedelta\n",
    "\n",
    "# regenerate month range; create a dataframe instead of a list\n",
    "month_range = pd.DataFrame(data={'month_start': pd.date_range('1919-11-01','1942-09-01', freq='MS')})\n",
    "one_month = relativedelta(months=1)\n",
    "# use relative delta to calculate one month — this is the start of the next month and should be considered the outer bound of the range\n",
    "month_range['month_end'] = month_range.month_start.apply(lambda x: x + one_month)\n",
    "month_range"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/"
    },
    "id": "CVH-hBcYBQrZ",
    "outputId": "72196c12-add4-404f-880b-ec91ca2509cd"
   },
   "outputs": [],
   "source": [
    "subscription_events = events_df[events_df['event_type'].isin(['Subscription', 'Renewal', 'Supplement'])].copy()\n",
    "subscription_events['start_date_dt'] = pd.to_datetime(subscription_events.start_date, errors='coerce')\n",
    "subscription_events['end_date_dt'] = pd.to_datetime(subscription_events.end_date, errors='coerce')\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 424
    },
    "id": "5s_M_FJuBB4z",
    "outputId": "7b22cfc1-a04a-459f-95e2-5e785e3d2b26"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>month_start</th>\n",
       "      <th>month_end</th>\n",
       "      <th>total</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1919-11-01</td>\n",
       "      <td>1919-12-01</td>\n",
       "      <td>27</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1919-12-01</td>\n",
       "      <td>1920-01-01</td>\n",
       "      <td>54</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1920-01-01</td>\n",
       "      <td>1920-02-01</td>\n",
       "      <td>73</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1920-02-01</td>\n",
       "      <td>1920-03-01</td>\n",
       "      <td>84</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1920-03-01</td>\n",
       "      <td>1920-04-01</td>\n",
       "      <td>90</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>270</th>\n",
       "      <td>1942-05-01</td>\n",
       "      <td>1942-06-01</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>271</th>\n",
       "      <td>1942-06-01</td>\n",
       "      <td>1942-07-01</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>272</th>\n",
       "      <td>1942-07-01</td>\n",
       "      <td>1942-08-01</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>273</th>\n",
       "      <td>1942-08-01</td>\n",
       "      <td>1942-09-01</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>274</th>\n",
       "      <td>1942-09-01</td>\n",
       "      <td>1942-10-01</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>275 rows × 3 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    month_start  month_end  total\n",
       "0    1919-11-01 1919-12-01     27\n",
       "1    1919-12-01 1920-01-01     54\n",
       "2    1920-01-01 1920-02-01     73\n",
       "3    1920-02-01 1920-03-01     84\n",
       "4    1920-03-01 1920-04-01     90\n",
       "..          ...        ...    ...\n",
       "270  1942-05-01 1942-06-01      5\n",
       "271  1942-06-01 1942-07-01      2\n",
       "272  1942-07-01 1942-08-01      1\n",
       "273  1942-08-01 1942-09-01      1\n",
       "274  1942-09-01 1942-10-01      1\n",
       "\n",
       "[275 rows x 3 columns]"
      ]
     },
     "execution_count": 22,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "def active_membership(d, df_t):\n",
    "    # find all subscription events that overlap with the month\n",
    "    # any overlap = subscription starts before month ends AND subscription ends after month starts\n",
    "    active_subs = df_t[(df_t.start_date_dt <= d.month_end) & (df_t.end_date_dt >= d.month_start)]\n",
    "    # return number of unique member ids\n",
    "    return len(active_subs.member_uris.unique())\n",
    "\n",
    "# generate a new frame with our month ranges and calculate\n",
    "# - total number of active members/accounts for each month\n",
    "active_member_df = month_range.copy()\n",
    "active_member_df['total'] = active_member_df.apply(active_membership, axis=1, args=(subscription_events,))\n",
    "#active_member_df['with_card'] = active_member_df.apply(borrowers_active_membership, axis=1, args=(subscription_events_cardinfo,))\n",
    "\n",
    "active_member_df"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 579
    },
    "id": "C8e62uxdZ3Oh",
    "outputId": "baad9df7-b2ad-4834-de5b-180bde2662cd"
   },
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAABZsAAAIyCAYAAACtuhTBAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAABAaElEQVR4nO3dd7hsZX0v8O+PIscCFpoUFaJYD4IKqFFjrykYE41YU9UYr6ZcvMSYqFETrhrRaNDotbfYomI0UWNij1E0lrHFBnIEaYpiwSC894+1NgybU/bZa+897fN5nv3smTVrZt7fWmtm1nznXe+q1loAAAAAAGCIXSbdAAAAAAAAZp+wGQAAAACAwYTNAAAAAAAMJmwGAAAAAGAwYTMAAAAAAIMJmwEAAAAAGEzYDAAwAVXVqupGk27Hkqr6zar6yAY91zZrr6qHVtV7V/m4T62q1w5r3WRNaruoqkP6595to58bAID5IWwGABhTVT8c+7u0qn4ydv2h27jPXapqyxq24QN98HfEsulv66ffZa2ea9q01l7XWrvXpNtRVadV1f9U1T7Lpv9Xvw4OWYPn+EBV/e7Qx1lvVfXaqnrFsml3rqrzq+qADWzHXavq36vq+1V12lZu//mq+kRVXVhVn6uqO47ddkBVnVJVZ25t/VXVQVX1jqr6blVtqarH7KAtD6qqj1XVj6vqA1u5/ZeratS/b3ysqm6+jcd5/3jIX1X7VdUb+nZ+v6o+WlW3XdECAgCYAsJmAIAxrbVrLP0l+VaSXx6b9roNbMp/J3nE0pWq2jvJ7ZOcu4FtWJU56h37zSTHLV2pqsOTXG1yzZmYJyS5b1XdM0mqalOSlyb5k9baWWvxBCvcZn6U5OVJjt/K/a+T5J1Jnp3kWkmeleSdVXXtfpZLk/xLkl/bxmO/Nt363j/JLyb5q6q663ba8t0kz0ty4lbacliS1yV5TN+WdyY5ZXmN/Y9Xuy+7+zWSfDLJbZJcJ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vvr6rPVdXHq+qW/X2fWlUvr6oPVNU3qurx/cOemOSGVfWZqnp2P+0aVfWW/rleV1U1kYIBAGCA3SbdAAAAmHI3SvLAJL+d5JNJHpLkjkl+JcmTkpyR5L9aa/evqrsleXWSI/v73jTJXZPsmeQrVfWiJCck2dxaOzLphtFIcqskt0hyZpKPJrlDko+se2UAALCG9GwGAIDt+2Zr7fOttUuTfCHJ+1trLcnnkxySLnh+TZK01v4tyd5VtVd/33e11n7aWjsvyTlJ9t/Gc3yitbalf47P9I8LAAAzRdgMAADb99Oxy5eOXb80Oz5ScPy+l2xn/pXOBwAAU0vYDAAAw3w4yUOTy4bEOK+19oPtzH9humE1AABgrugxAQAAwzw1ycur6nNJfpzkkdububV2fn+CwVGSf07yrvVvIgAArL/qhpsDAAAAAIDVM4wGAAAAAACDCZsBAAAAABhM2AwAAAAAwGDCZgAAAAAABhM2AwAAAAAwmLAZAAAAAIDBhM0AAAAAAAwmbAYAAAAAYLD/D4RbGXW2ReJJAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 1800x720 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "from matplotlib.dates import DateFormatter\n",
    "import matplotlib.ticker as ticker\n",
    "import matplotlib.pyplot as plt\n",
    "\n",
    "active_member_df['month'] = pd.to_datetime(active_member_df.month_start)\n",
    "ax = active_member_df.plot.bar(x='month', y='total', figsize=(25,10), title='Total Membership by Month and Year, 1919-1942', color=\"lightgray\", width=0.4, linewidth=0)\n",
    "\n",
    "# Make most of the ticklabels empty so the labels don't get too crowded\n",
    "ticklabels = active_member_df.month.apply(lambda x: x.strftime('%Y') if x.month == 1 else '')\n",
    "gridline = active_member_df.month.apply(lambda x: 1 if x.month == 1 else 0)\n",
    "\n",
    "\n",
    "ax.xaxis.set_major_formatter(ticker.FixedFormatter(ticklabels))\n",
    "plt.gcf().autofmt_xdate()\n",
    "plt.grid(axis='x', color='0.95', data=(gridline, 0))\n",
    "\n",
    "plt.show()\n",
    "ax.figure.savefig('membership_month_year.png')\n",
    "\n",
    "# Define the date format\n",
    "# date_form = DateFormatter(\"%Y\")\n",
    "# plot.xaxis.set_major_formatter(date_form)\n",
    "# plot.show()\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 363
    },
    "id": "XWnUbsyVBSrC",
    "outputId": "efd6c90f-4ded-4245-a4b6-6a52f2268d43"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>month_start</th>\n",
       "      <th>month_end</th>\n",
       "      <th>total</th>\n",
       "      <th>month</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>74</th>\n",
       "      <td>1926-01-01</td>\n",
       "      <td>1926-02-01</td>\n",
       "      <td>234</td>\n",
       "      <td>1926-01-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>73</th>\n",
       "      <td>1925-12-01</td>\n",
       "      <td>1926-01-01</td>\n",
       "      <td>231</td>\n",
       "      <td>1925-12-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>75</th>\n",
       "      <td>1926-02-01</td>\n",
       "      <td>1926-03-01</td>\n",
       "      <td>221</td>\n",
       "      <td>1926-02-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>72</th>\n",
       "      <td>1925-11-01</td>\n",
       "      <td>1925-12-01</td>\n",
       "      <td>221</td>\n",
       "      <td>1925-11-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>50</th>\n",
       "      <td>1924-01-01</td>\n",
       "      <td>1924-02-01</td>\n",
       "      <td>213</td>\n",
       "      <td>1924-01-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>53</th>\n",
       "      <td>1924-04-01</td>\n",
       "      <td>1924-05-01</td>\n",
       "      <td>212</td>\n",
       "      <td>1924-04-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>52</th>\n",
       "      <td>1924-03-01</td>\n",
       "      <td>1924-04-01</td>\n",
       "      <td>209</td>\n",
       "      <td>1924-03-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>76</th>\n",
       "      <td>1926-03-01</td>\n",
       "      <td>1926-04-01</td>\n",
       "      <td>206</td>\n",
       "      <td>1926-03-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>77</th>\n",
       "      <td>1926-04-01</td>\n",
       "      <td>1926-05-01</td>\n",
       "      <td>206</td>\n",
       "      <td>1926-04-01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>51</th>\n",
       "      <td>1924-02-01</td>\n",
       "      <td>1924-03-01</td>\n",
       "      <td>206</td>\n",
       "      <td>1924-02-01</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   month_start  month_end  total      month\n",
       "74  1926-01-01 1926-02-01    234 1926-01-01\n",
       "73  1925-12-01 1926-01-01    231 1925-12-01\n",
       "75  1926-02-01 1926-03-01    221 1926-02-01\n",
       "72  1925-11-01 1925-12-01    221 1925-11-01\n",
       "50  1924-01-01 1924-02-01    213 1924-01-01\n",
       "53  1924-04-01 1924-05-01    212 1924-04-01\n",
       "52  1924-03-01 1924-04-01    209 1924-03-01\n",
       "76  1926-03-01 1926-04-01    206 1926-03-01\n",
       "77  1926-04-01 1926-05-01    206 1926-04-01\n",
       "51  1924-02-01 1924-03-01    206 1924-02-01"
      ]
     },
     "execution_count": 25,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "active_member_df.sort_values('total', ascending=False).head(10)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "mEDBqNwtqtWB"
   },
   "source": [
    "# books\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "_UPQYFs1zvX8"
   },
   "source": [
    "## totals by format"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 299
    },
    "id": "pxr5_Le0zxZK",
    "outputId": "b7665e75-1578-4e85-9158-75bb7e58a523"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<AxesSubplot:title={'center':'Book totals by format'}, ylabel='format'>"
      ]
     },
     "execution_count": 26,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAdMAAAEICAYAAAAEBx5BAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAddElEQVR4nO3deZhlVX3u8e9rN0Mzg3QIoNAiEGTQFkvigAaQiDgEn4DB4WqDuUElF2MI1yGaiBpvYkzUICjBEdCLiEhCNA6oTBoZuqHpbiZFBhWQQQHBMLa//HFW4bGoqq7q3VXVVfX9PM95ep/f3nvttU4VvLX23uecVBWSJGn1PW6qOyBJ0nRnmEqS1JFhKklSR4apJEkdGaaSJHVkmEqS1JFhKs0SSRYkqSRzp7ovAK0vO45zn8OSfHcNHX+rJBckuTfJP6+JNjV7GabSWibJjUnuT3JfkruSfDXJEye5D/sk+elEbb+WOAK4E9ikqv5qKjsyTV8/9TFMpbXTy6pqI2Br4Dbgo1Pcn5loe+CqWo1PrllbZvdaexim0lqsqh4AvgTsOlhLsmmSU5LckeSmJO9K8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//zKTfmdHe/hxgpIkdeRpXkmSOjJMJUnqyDCVJKkjw1SSpI4MU0mSOjJMJUnqyDCVJKmj/wEmfndmSlYdhAAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "books_df.value_counts(\"format\").sort_values().plot(kind='barh', title='Book totals by format')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "uFnzOWO1q4zJ"
   },
   "source": [
    "## uncertain"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/"
    },
    "id": "40CoSj-_nTU8",
    "outputId": "85b45adb-3f5a-4656-a763-7aad9f19b8d2"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "6020 total books\n",
      "475 books marked uncertain : 8%\n"
     ]
    }
   ],
   "source": [
    "uncertain_books = books_df[books_df.uncertain]\n",
    "total_books = len(books_df)\n",
    "print('%d total books' % total_books)\n",
    "total_uncertain = len(uncertain_books)\n",
    "print('%d books marked uncertain : %.00f%%' % (total_uncertain, (total_uncertain/total_books)*100))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "Ecdcxgxqr0QS"
   },
   "source": [
    "## unknown circulation years"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 515
    },
    "id": "63jPsaViq_yk",
    "outputId": "511f0463-09e6-49d8-eb24-c67930c857c1"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "32 books with no circulation years\n",
      "1 max event count / 0 min event count\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>uri</th>\n",
       "      <th>title</th>\n",
       "      <th>author</th>\n",
       "      <th>editor</th>\n",
       "      <th>translator</th>\n",
       "      <th>introduction</th>\n",
       "      <th>illustrator</th>\n",
       "      <th>photographer</th>\n",
       "      <th>year</th>\n",
       "      <th>format</th>\n",
       "      <th>uncertain</th>\n",
       "      <th>ebook_url</th>\n",
       "      <th>volumes_issues</th>\n",
       "      <th>notes</th>\n",
       "      <th>event_count</th>\n",
       "      <th>borrow_count</th>\n",
       "      <th>purchase_count</th>\n",
       "      <th>circulation_years</th>\n",
       "      <th>updated</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>185</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/b...</td>\n",
       "      <td>The Professor</td>\n",
       "      <td>Brontë, Charlotte</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1857.0</td>\n",
       "      <td>Book</td>\n",
       "      <td>False</td>\n",
       "      <td>https://archive.org/details/in.ernet.dli.2015....</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2020-05-25T18:33:58+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>225</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/w...</td>\n",
       "      <td>The Gipsies</td>\n",
       "      <td>Woodcock, Henry</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1865.0</td>\n",
       "      <td>Book</td>\n",
       "      <td>False</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2020-04-30T19:40:20+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>335</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/h...</td>\n",
       "      <td>Dr. Breen's Practice</td>\n",
       "      <td>Howells, William Dean</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1881.0</td>\n",
       "      <td>Book</td>\n",
       "      <td>False</td>\n",
       "      <td>https://archive.org/details/cu31924022258697</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2021-05-25T01:07:51+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>559</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/f...</td>\n",
       "      <td>Boston Cooking-School Cook Book</td>\n",
       "      <td>Farmer, Fannie Merritt</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1896.0</td>\n",
       "      <td>Book</td>\n",
       "      <td>False</td>\n",
       "      <td>https://archive.org/details/bostoncookingsc00c...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2020-07-17T01:17:29+00:00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>611</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/a...</td>\n",
       "      <td>Elizabeth and Her German Garden</td>\n",
       "      <td>Arnim, Elizabeth von</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1898.0</td>\n",
       "      <td>Book</td>\n",
       "      <td>False</td>\n",
       "      <td>https://archive.org/details/elizabethandher02e...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2020-04-30T19:40:20+00:00</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                                   uri  \\\n",
       "185  https://shakespeareandco.princeton.edu/books/b...   \n",
       "225  https://shakespeareandco.princeton.edu/books/w...   \n",
       "335  https://shakespeareandco.princeton.edu/books/h...   \n",
       "559  https://shakespeareandco.princeton.edu/books/f...   \n",
       "611  https://shakespeareandco.princeton.edu/books/a...   \n",
       "\n",
       "                               title                  author editor  \\\n",
       "185                    The Professor       Brontë, Charlotte    NaN   \n",
       "225                      The Gipsies         Woodcock, Henry    NaN   \n",
       "335             Dr. Breen's Practice   Howells, William Dean    NaN   \n",
       "559  Boston Cooking-School Cook Book  Farmer, Fannie Merritt    NaN   \n",
       "611  Elizabeth and Her German Garden    Arnim, Elizabeth von    NaN   \n",
       "\n",
       "    translator introduction illustrator photographer    year format  \\\n",
       "185        NaN          NaN         NaN          NaN  1857.0   Book   \n",
       "225        NaN          NaN         NaN          NaN  1865.0   Book   \n",
       "335        NaN          NaN         NaN          NaN  1881.0   Book   \n",
       "559        NaN          NaN         NaN          NaN  1896.0   Book   \n",
       "611        NaN          NaN         NaN          NaN  1898.0   Book   \n",
       "\n",
       "     uncertain                                          ebook_url  \\\n",
       "185      False  https://archive.org/details/in.ernet.dli.2015....   \n",
       "225      False                                                NaN   \n",
       "335      False       https://archive.org/details/cu31924022258697   \n",
       "559      False  https://archive.org/details/bostoncookingsc00c...   \n",
       "611      False  https://archive.org/details/elizabethandher02e...   \n",
       "\n",
       "    volumes_issues notes  event_count  borrow_count  purchase_count  \\\n",
       "185            NaN   NaN            1             1               0   \n",
       "225            NaN   NaN            0             0               0   \n",
       "335            NaN   NaN            1             1               0   \n",
       "559            NaN   NaN            1             1               0   \n",
       "611            NaN   NaN            1             0               0   \n",
       "\n",
       "    circulation_years                    updated  \n",
       "185               NaN  2020-05-25T18:33:58+00:00  \n",
       "225               NaN  2020-04-30T19:40:20+00:00  \n",
       "335               NaN  2021-05-25T01:07:51+00:00  \n",
       "559               NaN  2020-07-17T01:17:29+00:00  \n",
       "611               NaN  2020-04-30T19:40:20+00:00  "
      ]
     },
     "execution_count": 28,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    " no_circ_years = books_df[books_df['circulation_years'].isnull()]\n",
    "print('%d books with no circulation years' % len(no_circ_years))\n",
    "print('%d max event count / %d min event count' % (max(no_circ_years.event_count), min(no_circ_years.event_count)))\n",
    "no_circ_years.head()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "XDzV2Jexy1Zy"
   },
   "source": [
    "### check books with unknown circulation years"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 363
    },
    "id": "xyeUN7UayX6G",
    "outputId": "a7b6b627-17a1-4141-b59a-3f05aa88bcd3"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>start_date</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_date</th>\n",
       "      <th>end_year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1920</td>\n",
       "      <td>1920</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1921</td>\n",
       "      <td>1921</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1922</td>\n",
       "      <td>1922</td>\n",
       "      <td>1922-08-23</td>\n",
       "      <td>1922</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1922</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1922</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923-11-07</td>\n",
       "      <td>1923</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  start_date start_year    end_date end_year\n",
       "0       1920       1920         NaN     None\n",
       "1       1921       1921         NaN     None\n",
       "2       1922       1922  1922-08-23     1922\n",
       "3       1922       1922         NaN     None\n",
       "4       1922       1922         NaN     None\n",
       "5       1923       1923         NaN     None\n",
       "6       1923       1923        1923     1923\n",
       "7       1923       1923         NaN     None\n",
       "8       1923       1923  1923-11-07     1923\n",
       "9       1923       1923         NaN     None"
      ]
     },
     "execution_count": 29,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# check books with unknown circulation years a different way\n",
    "# get year for start / end date\n",
    "events_df['start_year'] = events_df.start_date.apply(lambda x: x.split('-')[0] if  pd.notna(x) else None)\n",
    "events_df['end_year'] = events_df.end_date.apply(lambda x: x.split('-')[0] if  pd.notna(x) else None)\n",
    "events_df[['start_date', 'start_year', 'end_date', 'end_year']].head(10)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 363
    },
    "id": "vfhVQtbuy4JZ",
    "outputId": "13624c96-997d-4341-a89a-47d276637fec"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>start_date</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_date</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1920</td>\n",
       "      <td>1920</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1920</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1921</td>\n",
       "      <td>1921</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1921</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1922</td>\n",
       "      <td>1922</td>\n",
       "      <td>1922-08-23</td>\n",
       "      <td>1922</td>\n",
       "      <td>1922</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1922</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1922</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1922</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1922</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1923</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1923</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923-11-07</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1923</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  start_date start_year    end_date end_year  year\n",
       "0       1920       1920         NaN     None  1920\n",
       "1       1921       1921         NaN     None  1921\n",
       "2       1922       1922  1922-08-23     1922  1922\n",
       "3       1922       1922         NaN     None  1922\n",
       "4       1922       1922         NaN     None  1922\n",
       "5       1923       1923         NaN     None  1923\n",
       "6       1923       1923        1923     1923  1923\n",
       "7       1923       1923         NaN     None  1923\n",
       "8       1923       1923  1923-11-07     1923  1923\n",
       "9       1923       1923         NaN     None  1923"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# get year from one or the other\n",
    "events_df['year'] = events_df.apply(lambda row: row.start_year or row.end_year, axis=1)\n",
    "events_df[['start_date', 'start_year', 'end_date', 'end_year', 'year']].head(10)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 363
    },
    "id": "OsClLexwzHQA",
    "outputId": "54149299-c198-42bf-f5d8-1d5b37595a6f"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>start_date</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_date</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>534</th>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1935-12</td>\n",
       "      <td>1935</td>\n",
       "      <td>1935</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>573</th>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1944-06</td>\n",
       "      <td>1944</td>\n",
       "      <td>1944</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>616</th>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>--02-01</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1419</th>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1921-05-19</td>\n",
       "      <td>1921</td>\n",
       "      <td>1921</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2196</th>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1922-06-13</td>\n",
       "      <td>1922</td>\n",
       "      <td>1922</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2604</th>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1922-12-15</td>\n",
       "      <td>1922</td>\n",
       "      <td>1922</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3905</th>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1924-03-22</td>\n",
       "      <td>1924</td>\n",
       "      <td>1924</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8109</th>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1927-07-04</td>\n",
       "      <td>1927</td>\n",
       "      <td>1927</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8319</th>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1927-09-23</td>\n",
       "      <td>1927</td>\n",
       "      <td>1927</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8436</th>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>1927-10-29</td>\n",
       "      <td>1927</td>\n",
       "      <td>1927</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "     start_date start_year    end_date end_year  year\n",
       "534         NaN       None     1935-12     1935  1935\n",
       "573         NaN       None     1944-06     1944  1944\n",
       "616         NaN       None     --02-01               \n",
       "1419        NaN       None  1921-05-19     1921  1921\n",
       "2196        NaN       None  1922-06-13     1922  1922\n",
       "2604        NaN       None  1922-12-15     1922  1922\n",
       "3905        NaN       None  1924-03-22     1924  1924\n",
       "8109        NaN       None  1927-07-04     1927  1927\n",
       "8319        NaN       None  1927-09-23     1927  1927\n",
       "8436        NaN       None  1927-10-29     1927  1927"
      ]
     },
     "execution_count": 31,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# confirm logic works for missing start date\n",
    "events_df[['start_date', 'start_year', 'end_date', 'end_year', 'year']][events_df.start_date.isna()].head(10)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 974
    },
    "id": "Wi1-_YYf0nv3",
    "outputId": "12f6345e-9c01-4639-8174-5617653d5ca8"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>item_authors</th>\n",
       "      <th>item_year</th>\n",
       "      <th>item_notes</th>\n",
       "      <th>source_type</th>\n",
       "      <th>source_citation</th>\n",
       "      <th>source_manifest</th>\n",
       "      <th>source_image</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>613</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--01-27</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Juan Ramón Masoliver</td>\n",
       "      <td>Masoliver, Juan Ramón</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>Joyce, James</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Unidentified edition. Early versions of Joyce'...</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Juan Ramón Masoliver Lending Lib...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/61...</td>\n",
       "      <td></td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>618</th>\n",
       "      <td>Crossed out</td>\n",
       "      <td>--02-10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Morgan</td>\n",
       "      <td>Morgan, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>Galsworthy, John</td>\n",
       "      <td>1933.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Mr Morgan Lending Library Card, ...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/cc%2Ff...</td>\n",
       "      <td></td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>621</th>\n",
       "      <td>Generic</td>\n",
       "      <td>--02-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Pierre Denis</td>\n",
       "      <td>Denis, Pierre</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>Eliot, T. S.</td>\n",
       "      <td>1920.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Pierre Denis Lending Library Car...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b2...</td>\n",
       "      <td></td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>622</th>\n",
       "      <td>Generic</td>\n",
       "      <td>--02-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Pierre Denis</td>\n",
       "      <td>Denis, Pierre</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Unidentified.</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Pierre Denis Lending Library Car...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b2...</td>\n",
       "      <td></td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>623</th>\n",
       "      <td>Generic</td>\n",
       "      <td>--02-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Pierre Denis</td>\n",
       "      <td>Denis, Pierre</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>Euripides</td>\n",
       "      <td>1937.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Pierre Denis Lending Library Car...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b2...</td>\n",
       "      <td></td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35518</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Henri Gutmann</td>\n",
       "      <td>Gutmann, Henri</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35519</th>\n",
       "      <td>Generic</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Antoinette Bernheim</td>\n",
       "      <td>Bernheim, Antoinette</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>Isherwood, Christopher</td>\n",
       "      <td>1938.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Antoinette Bernheim Lending Libr...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/eb%2F7...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35520</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Baldwin</td>\n",
       "      <td>Baldwin, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35521</th>\n",
       "      <td>Generic</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Antoinette Bernheim</td>\n",
       "      <td>Bernheim, Antoinette</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>Forster, E. M.</td>\n",
       "      <td>1907.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Antoinette Bernheim Lending Libr...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/eb%2F7...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35522</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>M. A. Davies</td>\n",
       "      <td>Davies, M. A.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>410 rows × 31 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "          event_type start_date end_date  \\\n",
       "613           Borrow    --01-27      NaN   \n",
       "618      Crossed out    --02-10      NaN   \n",
       "621          Generic    --02-28      NaN   \n",
       "622          Generic    --02-28      NaN   \n",
       "623          Generic    --02-28      NaN   \n",
       "...              ...        ...      ...   \n",
       "35518  Reimbursement        NaN      NaN   \n",
       "35519        Generic        NaN      NaN   \n",
       "35520  Reimbursement        NaN      NaN   \n",
       "35521        Generic        NaN      NaN   \n",
       "35522  Reimbursement        NaN      NaN   \n",
       "\n",
       "                                             member_uris  \\\n",
       "613    https://shakespeareandco.princeton.edu/members...   \n",
       "618    https://shakespeareandco.princeton.edu/members...   \n",
       "621    https://shakespeareandco.princeton.edu/members...   \n",
       "622    https://shakespeareandco.princeton.edu/members...   \n",
       "623    https://shakespeareandco.princeton.edu/members...   \n",
       "...                                                  ...   \n",
       "35518  https://shakespeareandco.princeton.edu/members...   \n",
       "35519  https://shakespeareandco.princeton.edu/members...   \n",
       "35520  https://shakespeareandco.princeton.edu/members...   \n",
       "35521  https://shakespeareandco.princeton.edu/members...   \n",
       "35522  https://shakespeareandco.princeton.edu/members...   \n",
       "\n",
       "               member_names      member_sort_names  subscription_price_paid  \\\n",
       "613    Juan Ramón Masoliver  Masoliver, Juan Ramón                      NaN   \n",
       "618              Mr. Morgan            Morgan, Mr.                      NaN   \n",
       "621            Pierre Denis          Denis, Pierre                      NaN   \n",
       "622            Pierre Denis          Denis, Pierre                      NaN   \n",
       "623            Pierre Denis          Denis, Pierre                      NaN   \n",
       "...                     ...                    ...                      ...   \n",
       "35518         Henri Gutmann         Gutmann, Henri                      NaN   \n",
       "35519   Antoinette Bernheim   Bernheim, Antoinette                      NaN   \n",
       "35520           Mr. Baldwin           Baldwin, Mr.                      NaN   \n",
       "35521   Antoinette Bernheim   Bernheim, Antoinette                      NaN   \n",
       "35522          M. A. Davies          Davies, M. A.                      NaN   \n",
       "\n",
       "       subscription_deposit subscription_duration  subscription_duration_days  \\\n",
       "613                     NaN                   NaN                         NaN   \n",
       "618                     NaN                   NaN                         NaN   \n",
       "621                     NaN                   NaN                         NaN   \n",
       "622                     NaN                   NaN                         NaN   \n",
       "623                     NaN                   NaN                         NaN   \n",
       "...                     ...                   ...                         ...   \n",
       "35518                   NaN                   NaN                         NaN   \n",
       "35519                   NaN                   NaN                         NaN   \n",
       "35520                   NaN                   NaN                         NaN   \n",
       "35521                   NaN                   NaN                         NaN   \n",
       "35522                   NaN                   NaN                         NaN   \n",
       "\n",
       "       ...            item_authors item_year  \\\n",
       "613    ...            Joyce, James       NaN   \n",
       "618    ...        Galsworthy, John    1933.0   \n",
       "621    ...            Eliot, T. S.    1920.0   \n",
       "622    ...                     NaN       NaN   \n",
       "623    ...               Euripides    1937.0   \n",
       "...    ...                     ...       ...   \n",
       "35518  ...                     NaN       NaN   \n",
       "35519  ...  Isherwood, Christopher    1938.0   \n",
       "35520  ...                     NaN       NaN   \n",
       "35521  ...          Forster, E. M.    1907.0   \n",
       "35522  ...                     NaN       NaN   \n",
       "\n",
       "                                              item_notes  \\\n",
       "613    Unidentified edition. Early versions of Joyce'...   \n",
       "618                                                  NaN   \n",
       "621                                                  NaN   \n",
       "622                                        Unidentified.   \n",
       "623                                                  NaN   \n",
       "...                                                  ...   \n",
       "35518                                                NaN   \n",
       "35519                                                NaN   \n",
       "35520                                                NaN   \n",
       "35521                                                NaN   \n",
       "35522                                                NaN   \n",
       "\n",
       "                source_type  \\\n",
       "613    Lending Library Card   \n",
       "618    Lending Library Card   \n",
       "621    Lending Library Card   \n",
       "622    Lending Library Card   \n",
       "623    Lending Library Card   \n",
       "...                     ...   \n",
       "35518          Address Book   \n",
       "35519  Lending Library Card   \n",
       "35520          Address Book   \n",
       "35521  Lending Library Card   \n",
       "35522          Address Book   \n",
       "\n",
       "                                         source_citation  \\\n",
       "613    Sylvia Beach, Juan Ramón Masoliver Lending Lib...   \n",
       "618    Sylvia Beach, Mr Morgan Lending Library Card, ...   \n",
       "621    Sylvia Beach, Pierre Denis Lending Library Car...   \n",
       "622    Sylvia Beach, Pierre Denis Lending Library Car...   \n",
       "623    Sylvia Beach, Pierre Denis Lending Library Car...   \n",
       "...                                                  ...   \n",
       "35518  Sylvia Beach, Address Book 1919–1935, box 69, ...   \n",
       "35519  Sylvia Beach, Antoinette Bernheim Lending Libr...   \n",
       "35520  Sylvia Beach, Address Book 1919–1935, box 69, ...   \n",
       "35521  Sylvia Beach, Antoinette Bernheim Lending Libr...   \n",
       "35522  Sylvia Beach, Address Book 1919–1935, box 69, ...   \n",
       "\n",
       "                                         source_manifest  \\\n",
       "613    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "618    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "621    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "622    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "623    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "...                                                  ...   \n",
       "35518                                                NaN   \n",
       "35519  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "35520                                                NaN   \n",
       "35521  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "35522                                                NaN   \n",
       "\n",
       "                                            source_image start_year end_year  \\\n",
       "613    https://iiif.princeton.edu/loris/figgy_prod/61...                None   \n",
       "618    https://iiif-cloud.princeton.edu/iiif/2/cc%2Ff...                None   \n",
       "621    https://iiif.princeton.edu/loris/figgy_prod/b2...                None   \n",
       "622    https://iiif.princeton.edu/loris/figgy_prod/b2...                None   \n",
       "623    https://iiif.princeton.edu/loris/figgy_prod/b2...                None   \n",
       "...                                                  ...        ...      ...   \n",
       "35518                                                NaN       None     None   \n",
       "35519  https://iiif-cloud.princeton.edu/iiif/2/eb%2F7...       None     None   \n",
       "35520                                                NaN       None     None   \n",
       "35521  https://iiif-cloud.princeton.edu/iiif/2/eb%2F7...       None     None   \n",
       "35522                                                NaN       None     None   \n",
       "\n",
       "       year  \n",
       "613    None  \n",
       "618    None  \n",
       "621    None  \n",
       "622    None  \n",
       "623    None  \n",
       "...     ...  \n",
       "35518  None  \n",
       "35519  None  \n",
       "35520  None  \n",
       "35521  None  \n",
       "35522  None  \n",
       "\n",
       "[410 rows x 31 columns]"
      ]
     },
     "execution_count": 32,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# how many events with no year?\n",
    "events_df[events_df.year.isna()]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 424
    },
    "id": "8ICq4M8RzOjZ",
    "outputId": "8e8cbcab-7dba-4544-ffa7-7ce1efb25ad5"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>item_uri</th>\n",
       "      <th>has_year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/1...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/1...</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/a...</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/a...</td>\n",
       "      <td>6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/a...</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6014</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/z...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6015</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/z...</td>\n",
       "      <td>5</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6016</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/z...</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6017</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/z...</td>\n",
       "      <td>4</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6018</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/z...</td>\n",
       "      <td>2</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>6019 rows × 2 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               item_uri  has_year\n",
       "0     https://shakespeareandco.princeton.edu/books/1...         1\n",
       "1     https://shakespeareandco.princeton.edu/books/1...         2\n",
       "2     https://shakespeareandco.princeton.edu/books/a...         4\n",
       "3     https://shakespeareandco.princeton.edu/books/a...         6\n",
       "4     https://shakespeareandco.princeton.edu/books/a...         7\n",
       "...                                                 ...       ...\n",
       "6014  https://shakespeareandco.princeton.edu/books/z...         1\n",
       "6015  https://shakespeareandco.princeton.edu/books/z...         5\n",
       "6016  https://shakespeareandco.princeton.edu/books/z...         1\n",
       "6017  https://shakespeareandco.princeton.edu/books/z...         4\n",
       "6018  https://shakespeareandco.princeton.edu/books/z...         2\n",
       "\n",
       "[6019 rows x 2 columns]"
      ]
     },
     "execution_count": 33,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# group by item uri, get year count\n",
    "events_df['has_year'] = events_df.year.apply(lambda x: 1 if pd.notna(x) else 0)\n",
    "\n",
    "items_by_year = events_df[['item_uri', 'has_year']].groupby('item_uri').sum().reset_index()\n",
    "items_by_year"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 739
    },
    "id": "11Gy6E7j0GG6",
    "outputId": "3e047346-63eb-4897-f4b3-61e9c88a7785"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>item_uri</th>\n",
       "      <th>has_year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>118</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/a...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>155</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/a...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>163</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/a...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>605</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/b...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>638</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/b...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1163</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/c...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1918</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/f...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2039</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/g...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2347</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/h...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2354</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/h...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2356</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/h...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2362</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/h...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2442</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/h...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2585</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/h...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2703</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/h...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3552</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/m...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3854</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/m...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4787</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/s...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5029</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/s...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5257</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/t...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5500</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/v...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5598</th>\n",
       "      <td>https://shakespeareandco.princeton.edu/books/w...</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                               item_uri  has_year\n",
       "118   https://shakespeareandco.princeton.edu/books/a...         0\n",
       "155   https://shakespeareandco.princeton.edu/books/a...         0\n",
       "163   https://shakespeareandco.princeton.edu/books/a...         0\n",
       "605   https://shakespeareandco.princeton.edu/books/b...         0\n",
       "638   https://shakespeareandco.princeton.edu/books/b...         0\n",
       "1163  https://shakespeareandco.princeton.edu/books/c...         0\n",
       "1918  https://shakespeareandco.princeton.edu/books/f...         0\n",
       "2039  https://shakespeareandco.princeton.edu/books/g...         0\n",
       "2347  https://shakespeareandco.princeton.edu/books/h...         0\n",
       "2354  https://shakespeareandco.princeton.edu/books/h...         0\n",
       "2356  https://shakespeareandco.princeton.edu/books/h...         0\n",
       "2362  https://shakespeareandco.princeton.edu/books/h...         0\n",
       "2442  https://shakespeareandco.princeton.edu/books/h...         0\n",
       "2585  https://shakespeareandco.princeton.edu/books/h...         0\n",
       "2703  https://shakespeareandco.princeton.edu/books/h...         0\n",
       "3552  https://shakespeareandco.princeton.edu/books/m...         0\n",
       "3854  https://shakespeareandco.princeton.edu/books/m...         0\n",
       "4787  https://shakespeareandco.princeton.edu/books/s...         0\n",
       "5029  https://shakespeareandco.princeton.edu/books/s...         0\n",
       "5257  https://shakespeareandco.princeton.edu/books/t...         0\n",
       "5500  https://shakespeareandco.princeton.edu/books/v...         0\n",
       "5598  https://shakespeareandco.princeton.edu/books/w...         0"
      ]
     },
     "execution_count": 34,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "items_by_year[items_by_year.has_year == 0]\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/"
    },
    "id": "Pl0Wvo9J0TbG",
    "outputId": "575a31a7-baea-46b4-c758-430307b1e67c"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "(22, 2)"
      ]
     },
     "execution_count": 35,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "items_by_year[items_by_year.has_year == 0].shape\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "RIWipp5Lza81"
   },
   "source": [
    "# events\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 37,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/"
    },
    "id": "7Bs80CpKr9s-",
    "outputId": "1c626728-be61-4e02-b436-532ca74881a9"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "35523 events\n"
     ]
    }
   ],
   "source": [
    "print('%d events' % len(events_df))"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "pGezR8Pue3YS"
   },
   "source": [
    "## totals by type"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 426
    },
    "id": "CEiBz9vQacrC",
    "outputId": "b9dc3dc2-3a24-4c23-8357-9d0c7de78b34"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>count</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>21059</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>4839</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Renewal</td>\n",
       "      <td>4799</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>3126</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>818</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Crossed out</td>\n",
       "      <td>285</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Generic</td>\n",
       "      <td>252</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Supplement</td>\n",
       "      <td>190</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Separate Payment</td>\n",
       "      <td>85</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Request</td>\n",
       "      <td>28</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Gift</td>\n",
       "      <td>26</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Periodical Subscription</td>\n",
       "      <td>16</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                 event_type  count\n",
       "0                    Borrow  21059\n",
       "10             Subscription   4839\n",
       "7                   Renewal   4799\n",
       "6             Reimbursement   3126\n",
       "5                  Purchase    818\n",
       "1               Crossed out    285\n",
       "2                   Generic    252\n",
       "11               Supplement    190\n",
       "9          Separate Payment     85\n",
       "8                   Request     28\n",
       "3                      Gift     26\n",
       "4   Periodical Subscription     16"
      ]
     },
     "execution_count": 38,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "event_type_totals = events_df.groupby([\"event_type\"]).size().reset_index(name='count').sort_values(['count'], ascending=False)\n",
    "event_type_totals"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "Xni6btO8z4Yo"
   },
   "source": [
    "### membership event total"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 206
    },
    "id": "sQtmoEF3zmE1",
    "outputId": "34114f0b-1a0a-41d4-c478-68190ff8ee82"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>count</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>4839</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Renewal</td>\n",
       "      <td>4799</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>3126</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Supplement</td>\n",
       "      <td>190</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Separate Payment</td>\n",
       "      <td>85</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "          event_type  count\n",
       "10      Subscription   4839\n",
       "7            Renewal   4799\n",
       "6      Reimbursement   3126\n",
       "11        Supplement    190\n",
       "9   Separate Payment     85"
      ]
     },
     "execution_count": 39,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "event_type_totals[event_type_totals.event_type.isin(['Subscription', 'Renewal', 'Reimbursement', 'Supplement', 'Separate Payment'])]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 44,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/"
    },
    "id": "V_1Q9ph-z7xO",
    "outputId": "081c6ef5-20c6-4a03-e412-564eeb39a09c"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'13,039 total membership events'"
      ]
     },
     "execution_count": 44,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "membership_total = event_type_totals[event_type_totals.event_type.isin(['Subscription', 'Renewal', 'Reimbursement', 'Supplement', 'Separate Payment'])]['count'].sum()\n",
    "f'{membership_total:,} total membership events'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 46,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 299
    },
    "id": "8jPbeIFotf1q",
    "outputId": "0e5bcd49-6e37-4c63-a8c6-9609e35c0c69"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<AxesSubplot:title={'center':'Event totals by type'}, ylabel='event_type'>"
      ]
     },
     "execution_count": 46,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAeQAAAEICAYAAACOKIcAAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAwxklEQVR4nO3de5xVdb3/8ddbRFBRyBupmaiphIYI2wslClpm5jVvmaVkR7Lj0Ty/tDzZ8VhqJ7NzOql5wTTxlqR5SzvgDWQyEoY7qISKHhXzkqKgCIif3x/ru3Ux7pnZM+w9ew/zfj4e85i1v/v7/a7PWjPw2d/vWrO+igjMzMysttapdQBmZmbmhGxmZlYXnJDNzMzqgBOymZlZHXBCNjMzqwNOyGZmZnXACdnM1lqSRkr6czvaTZT0T9WIyaw5TshmXYCkZyUtk7Q093V5lfc5XNILrdS5XtKFbeizTfVrTVI/SSFp3VrHYvXPvyRmXcehEfFgrYMws9I8QjbrwiT1kLRY0q65ss3TaHqL9PoQSTNTvb9IGpir+6yksyTNlvSmpLGSekraEPhfYKvciHyrJvseBZwAfD+9/8dU/uk0ZbxY0jxJh7VS/xxJT0taIulxSUc2c6yS9EtJr0h6S9Kc/HGXsIOkKanu3ZI2Sf3cJ+n0Jn3Pbma/k9L3xSnm/SS9LukzubZbSHonnffhkl6Q9ENJr6Xze0KTn9cvJP2fpJclXSVp/RaOwToRJ2SzLiwilgN3AMfnio8FHomIVyTtDlwHfBvYFLgauEdSjyb1DwK2AwYCIyPibeBLwKKI6JW+FjXZ92jgZuDn6f1DJXUH/gjc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MtmIqGg7STMkPSJpWC7e5vbf3DG2VyV+bpsCi3MfOip1voYBL0fEglxZh56vJv8vdIbfr2Y5IVunIKkX8AfgzIh4C7gS2AEYBLxENm3W0faJiMHAl4DTJO2bfzN9sq7J3xWm64OHAbelono4X6up5flpjqRzgfeAm1PRS8AnI2J34P8Bt0jauNz+KnCMdfdza+J4Vv/Q16Hnq8T/C+3uqx44IVtbvQhsk3v9iVRWNZK6k/2juzki7gCIiJcjYlVEvA9cQzZV11J8FY87Il5M318B7kwxvJymu4rTdK90dFzJl4DpEfFyirHm5yup1Pl5kdWnldc4PkkjgUOAE9J/5qQp4X+k7Wlk12d3amX/zR1jm1Xw5/YPsmnadZuUt1vq6yvA2Fy8HXa+Sv2/0EJfNf/9KocTsrXVVGDHdMfmemTTovdUa2fpGtW1wBMR8d+58i1z1Y4EineA3gN8VVIPSdsBO5LdnFHRuCVtKGmj4jbZTUFzU5/FOzVPAu7OxXViuttzb+DNNLU2HjhQ0sfSdOSBqWxNrTZyqfX5yqnI+UnvvSVp7/Q7cmKurzaTdBDwfeCwiHgnV765pG5pe3uy8/NMK/tv7hjbE1dFfm7pA8YE4OhKxJV8HngyIj6Y2u2o89Xc/wst9FXT36+yteUOMH/5K+KDOxb/Rvbp99wq72sfsmmn2cDM9HUwcCMwJ5XfA2yZa3Nuim0+uTsjKxk32V2ss9LXvGJ/ZNfqHgIWAA8Cm6RyAb9O+54DFHJ9nUx2U85TwDcrcM42JBsR9c6Vdfj5IvtA8BKwkuwa3LcqeX6AAlmCehq4nPTkwXbG9RTZtcTi79hVqe5R6ec7E5gOHNra/ps7xnbGVbGfW/qdnZKO9TagR3vjSuXXA6c2qdsh54vm/1+o+e/Xmnz50ZlmZmZ1wFPWZmZmdcAJ2czMrA44IZuZmdUBJ2QzM7M64IRsZmZWB5yQzczM6oATspmZWR34/yQVJNLH92ihAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "# number of events by type; generate bar plot using value_counts\n",
    "events_df.value_counts(\"event_type\").sort_values().plot(kind='barh', title='Event totals by type', color='#47C2C2')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 609
    },
    "id": "LShrPSX3uFDN",
    "outputId": "4c34176b-f292-4dfe-d998-52ba51ad561f"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<AxesSubplot:title={'center':'Event totals by type'}, ylabel='None'>"
      ]
     },
     "execution_count": 47,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAo0AAAI+CAYAAADZ8zCWAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAB71UlEQVR4nO3dd3wc1b3+8c93ZndlWZLljiteOqaY3pshPUpuei9Ood0fNwkJSa5y05Su9IQQIKSRhBBCeohSSSimdxBgGWwssC33Ije13T2/P2aEZWNbdXW2PO/XSy+vtsw+K1naR+fMnDHnHCIiIiIi+xL4DiAiIiIihU+lUURERET6pdIoIiIiIv1SaRQRERGRfqk0ioiIiEi/VBpFREREpF8qjSJSkMzsPWZ2xxAed6uZnZ+PTCIi5UylUaTAmVmrmXWY2bY+H1fk+Tnnm9mKfu5zrZl9cRDbHNT9fTOztJk5M0v4ziIiUgj0y1CkOLzaOXez7xAiIlK+NNIoUqTMrMLMNpvZUX2umxKPSk6NP3+VmT0S3+8uM5vX576tZvZRM3vMzNrN7NdmNsbMqoC/ATP6jGzO2O25LwTeAXw8vv2m+Pq58fTwZjN7wsz+q5/715vZUjPbamZPmtnr9vJazcy+bWZrzWyLmTX3fd17cJCZ3Rff909mNjHeTpOZfWC3bT+2l+e9Pf53c5z5H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EHPBN9j3KuC6+34G7XX8d8Dqi4vjzPTzuc2aWMrOzgFcBv4lHX38IfLvPQUozzexl+3h+EZGCotIoUhxusl3Xaeydgu6dMt1ONA36tz7XPwBcQDStuwlYArxnIE/mnGsBfgU8E0+nztjD3X4MHBHf/sd4v8BXEx1Esx64Enh3vK093f9JouJ2N1GhPBq4cy+RxhGVrk1EU74bgK/v4yX8AriWaPp9DPDB3W7/efx81+1tA865HcCXgDvjzKfG1y8HHiIqvAt3e9jqOGMb0YE/F/d5/f9L9D24x8y2ADcDhyEiUiTMuYHMQomIlA4zezdwoXPuzCE+/idER5d/qs9184HrnHOzRiSkiEiB0eLeIlJW4inr/0c0EjqUx6eB1wPHjWAsEZGCp+lpESkb8T6E64imw6/v5+57evwXiA7W+bpzbtkIxxMRKWianhYRERGRfmmkUURERET6pdIoIiIiIv1SaRQRERGRfqk0ioiIiEi/VBpFREREpF8qjSIiIiLSL5VGEREREemXSqOIiIiI9EulUURERET6pdIoIiIiIv1SaRQRERGRfqk0ioiIiEi/VBpFREREpF8qjSIiIiLSL5VGEREREemXSqOIiIiI9EulUURERET6pdIoIiIiIv1SaRQRERGRfqk0ioiIiEi/VBpFREREpF8qjSIiIiLSL5VGEREREemXSqOIiIiI9EulUURERET6pdIoIiIiIv1SaRQRERGRfqk0ioiIiEi/VBpFREREpF8qjSIiIiLSL5VGEREREemXSqOIiIiI9EulUURERET6pdIoIiIiIv1SaRQRERGRfqk0ioiIiEi/VBpFREREpF8qjSIiIiLSL5VGEREREemXSqOIiIiI9EulUcqSmWXN7BEze9TMHjKz031nEhERKWTmnPOdQWTUmdk251x1fPllwP85584Z4GMTzrnM3j4XEREpRRppFIFxwCYAi3zdzB43s2Yze0t8/XwzW2hmfwae3MPnY8zsp/FjHjazc+PHNZnZvPjyw2b2mfjy583sAi+vVkREZAgSvgOIeFJpZo8AY4DpwHnx9a8HjgWOASYD95vZ7fFtxwNHOeeWmdn83T6/DHDOuaPN7HDgn2Z2KLAQOMvMngUywBn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IiPRLpVFERERE+qXSKCIiIiL9UmkUERERkX6pNIqIiIhIv1QaRURERKRfKo0iIiIi0i+VRhERERHpl0qjiIiIiPRLpVFERERE+qXSKCIiIiL9UmkUERERkX6pNIqIiIhIv1QaRURERKRfKo0iIiIi0i+VRhERERHpl0qjiIiIiPRLpVFERERE+qXSKCIiIiL9UmkUERERkX6pNIqIiIhIv1QaRURERKRfKo0iIiIi0i+VRhERERHpl0qjiIiIiPRLpVFERERE+qXSKCIiIiL9UmkUERERkX6pNIqIiIhIv1QaRURERKRfKo0iIiIi0i+VRhERERHpl0qjiIiIiPRLpVFERERE+qXSKCIiIiL9UmkUERERkX6pNIqIiIhIv1QaRURERKRfKo0iIiIi0i+VRhERERHpl0qjiIiIiPRLpVFERERE+qXSKCIiIiL9UmkUERERkX79fwMGDKzczyrAAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<Figure size 720x720 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "events_df.value_counts(\"event_type\").plot(kind='pie', figsize=(10, 10), title='Event totals by type')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 50,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 283
    },
    "id": "3RZvi-rIc0Wz",
    "outputId": "5e51356a-0091-4324-f63c-a9cd93ed672b"
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<AxesSubplot:ylabel='event_type'>"
      ]
     },
     "execution_count": 50,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAeQAAAD4CAYAAAA9zZWtAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAt/klEQVR4nO3de7xVdZ3/8ddbQI4CSgqRiomaSmqIsNUwUS5lZOYlMVNHpRoZ+z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G5Ndmw6L3l2lm6RnUt8FRE/LSgfKeCzY4H8neA3gt8WVJ3SbsDe5HdnFHSuCX1kNQrv0x2U9CC1Gb+Ts0zgHsK4jo93e35SeCtNLQ2GThS0ofScOSRqWxzbdJzqfT5KlCS85PW/V3SJ9O/kdML2mozSWOAfwOOiYjVBeV9JXVJy3uQnZ/nWtl/c8fYnrhK8r6lDxhTgLGliCv5NPB0RLw3tNtR56u5vwsttFXRf19Fa8sdYP7xT8R7dyz+hezT7wVl3tdhZMNO84A56eco4GZgfiq/F9ipoM4FKbZFFNwZWcq4ye5inZt+FubbI7tW9xCwGHgQ2CGVC/h52vd8IFfQ1lfJbsp5BvhKCc5ZD7Ie0fYFZR1+vsg+ELwErCe7Bve1Up4fIEeWoJ4FriQ9ebCdcT1Ddi0x/2/smrTtCen9nQM8AXyhtf03d4ztjKtk71v6NzszHesdQPf2xpXKbwDOarRth5wvmv+7UPF/X5vz40dnmpmZVQEPWZuZmVUBJ2QzM7Mq4IRsZmZWBZyQzczMqoATspmZWRVwQjYzM6sCTshmZmZV4P8DlVe3HsAvc9MAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "# distinguish membership and book activities by color\n",
    "event_type_totals = event_type_totals.sort_values(['count'])\n",
    "membership_events = ['Renewal', 'Subscription', 'Reimbursement', 'Supplement', 'Separate Deposit']\n",
    "# color membership events differently\n",
    "colors = ['lightslategray' if evt in membership_events else '#47C2C2' for evt in event_type_totals.event_type]\n",
    "event_type_totals.plot.barh(x='event_type', y='count', color=colors)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "xGgfuwew-zIG"
   },
   "source": [
    "## event totals by year"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 51,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 1000
    },
    "id": "6tJw3rYO-4J0",
    "outputId": "afa317a4-c81e-4392-d0c0-e151fccca2b3"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>year</th>\n",
       "      <th>count</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1919</td>\n",
       "      <td>103</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1920</td>\n",
       "      <td>652</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1921</td>\n",
       "      <td>962</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1922</td>\n",
       "      <td>1171</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1923</td>\n",
       "      <td>1384</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>1924</td>\n",
       "      <td>1588</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>1925</td>\n",
       "      <td>1679</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>1926</td>\n",
       "      <td>2087</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>1927</td>\n",
       "      <td>1480</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>1928</td>\n",
       "      <td>1434</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>1929</td>\n",
       "      <td>1721</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>1930</td>\n",
       "      <td>841</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>1931</td>\n",
       "      <td>814</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>1932</td>\n",
       "      <td>1000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>1933</td>\n",
       "      <td>1530</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>1934</td>\n",
       "      <td>1617</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>1935</td>\n",
       "      <td>1923</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>1936</td>\n",
       "      <td>2151</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>1937</td>\n",
       "      <td>2006</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>1938</td>\n",
       "      <td>2206</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>1939</td>\n",
       "      <td>2546</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>1940</td>\n",
       "      <td>1716</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>1941</td>\n",
       "      <td>1901</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>1942</td>\n",
       "      <td>103</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>1943</td>\n",
       "      <td>73</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>1944</td>\n",
       "      <td>68</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>1945</td>\n",
       "      <td>20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>1946</td>\n",
       "      <td>24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>1947</td>\n",
       "      <td>54</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>1948</td>\n",
       "      <td>14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>30</th>\n",
       "      <td>1949</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>31</th>\n",
       "      <td>1950</td>\n",
       "      <td>8</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>32</th>\n",
       "      <td>1951</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>33</th>\n",
       "      <td>1952</td>\n",
       "      <td>27</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34</th>\n",
       "      <td>1953</td>\n",
       "      <td>7</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>1954</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>1955</td>\n",
       "      <td>6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>1956</td>\n",
       "      <td>14</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>1957</td>\n",
       "      <td>10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>1958</td>\n",
       "      <td>24</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>40</th>\n",
       "      <td>1960</td>\n",
       "      <td>6</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>41</th>\n",
       "      <td>1961</td>\n",
       "      <td>60</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>42</th>\n",
       "      <td>1962</td>\n",
       "      <td>3</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "    year  count\n",
       "0   1919    103\n",
       "1   1920    652\n",
       "2   1921    962\n",
       "3   1922   1171\n",
       "4   1923   1384\n",
       "5   1924   1588\n",
       "6   1925   1679\n",
       "7   1926   2087\n",
       "8   1927   1480\n",
       "9   1928   1434\n",
       "10  1929   1721\n",
       "11  1930    841\n",
       "12  1931    814\n",
       "13  1932   1000\n",
       "14  1933   1530\n",
       "15  1934   1617\n",
       "16  1935   1923\n",
       "17  1936   2151\n",
       "18  1937   2006\n",
       "19  1938   2206\n",
       "20  1939   2546\n",
       "21  1940   1716\n",
       "22  1941   1901\n",
       "23  1942    103\n",
       "24  1943     73\n",
       "25  1944     68\n",
       "26  1945     20\n",
       "27  1946     24\n",
       "28  1947     54\n",
       "29  1948     14\n",
       "30  1949     13\n",
       "31  1950      8\n",
       "32  1951      3\n",
       "33  1952     27\n",
       "34  1953      7\n",
       "35  1954      1\n",
       "36  1955      6\n",
       "37  1956     14\n",
       "38  1957     10\n",
       "39  1958     24\n",
       "40  1960      6\n",
       "41  1961     60\n",
       "42  1962      3"
      ]
     },
     "execution_count": 51,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "events_year = events_df\n",
    "events_year['year'] = events_year.start_date.str.extract(r'(?P<year>(?:\\d{4}|-))')\n",
    "# convert unknown years to None\n",
    "events_year.year.replace('-', None, inplace=True)\n",
    "events_by_year = events_year.groupby([\"year\"]).size().reset_index(name='count').sort_values(['year'])\n",
    "events_by_year"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 52,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 528
    },
    "id": "0VwL5d8U-1Q3",
    "outputId": "40ebe22e-3c4d-439b-e605-404450138501"
   },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3nVdVFVXX7JNdP8rYk35nkntN0khydVSj911kFz/ef5t94mn9Rki8n+ZN19g4AACMJoQEAYPP8UZKHJfnmrK6MvkeSX+vuP9i4UFXdNcn3Jvmu7v5cVb0uyVHTw5/v7i+vqV8AABjOcBwAALB5XpJkd1ZXQL9i+vrxqjo6SarqRlX1TUmuleTjUwB9yyR3mqthAAAYzZXQAACwSbr7i1X12iSfmK5mfmVVfVuSN1ZVknwmyY8lOSPJI6rq3Unem+RNc/UMAACjVXfP3QMAAGwJ0w0J35rkAd39vrn7AQCAJTAcBwAAbIKqulWSc5O8WgANAABf5UpoAAAAAACGcSU0AAAAAADDCKEBAAAAABhGCA0AAAAAwDBCaAAAAAAAhhFCAwAAAAAwzP8HLaPtqaBpNeIAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 1800x576 with 1 Axes>"
      ]
     },
     "metadata": {
      "needs_background": "light"
     },
     "output_type": "display_data"
    }
   ],
   "source": [
    "plot = events_by_year.plot.bar(x='year', y='count', figsize=(25,8), title='Total events by year', color=\"#47C2C2\")\n",
    "plot.figure.savefig('event_totals_by_year.png')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "D7ESGdNnfv4P"
   },
   "source": [
    "## joint accounts"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 53,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/"
    },
    "id": "qxhvRRofdIin",
    "outputId": "c0766d4c-b455-4f04-e830-7aa87218ca68"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "557 events from joint accounts\n",
      "49 joint accounts\n"
     ]
    }
   ],
   "source": [
    "joint_account_events = events_df[events_df['member_uris'].str.contains(\";\")]\n",
    "print('%d events from joint accounts' % len(joint_account_events))\n",
    "print('%d joint accounts' % len(joint_account_events.member_uris.unique()))\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "bEWFG2wzthgH"
   },
   "source": [
    "## end date known when start date is unknown"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 54,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 453
    },
    "id": "m3__Gg2atnsh",
    "outputId": "17f22e20-26ed-4867-d116-8bba152adde3"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "36 events with end date but no start\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>item_year</th>\n",
       "      <th>item_notes</th>\n",
       "      <th>source_type</th>\n",
       "      <th>source_citation</th>\n",
       "      <th>source_manifest</th>\n",
       "      <th>source_image</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "      <th>has_year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>534</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1935-12</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Colette Weiss</td>\n",
       "      <td>Weiss, Colette</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Mme Collette Weiss Lending Libra...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/ac...</td>\n",
       "      <td>None</td>\n",
       "      <td>1935</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>573</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1944-06</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Hélène de Wendel / Comtesse de Noailles</td>\n",
       "      <td>de Wendel, Hélène</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1883.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Madame Hélène Wendel Lending Lib...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/0c%2F5...</td>\n",
       "      <td>None</td>\n",
       "      <td>1944</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>616</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>NaN</td>\n",
       "      <td>--02-01</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>James Joyce</td>\n",
       "      <td>Joyce, James</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1912.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>James Joyce's lending library cards not repres...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td></td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1419</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1921-05-19</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Morgan</td>\n",
       "      <td>Morgan, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1920.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Mr Morgan Lending Library Card, ...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/ee%2F0...</td>\n",
       "      <td>None</td>\n",
       "      <td>1921</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2196</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1922-06-13</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Colette Ottensooser</td>\n",
       "      <td>Ottensooser, Colette</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1915.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Colette Ottensooser Lending Libr...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/18...</td>\n",
       "      <td>None</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>5 rows × 32 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "     event_type start_date    end_date  \\\n",
       "534      Borrow        NaN     1935-12   \n",
       "573      Borrow        NaN     1944-06   \n",
       "616      Borrow        NaN     --02-01   \n",
       "1419     Borrow        NaN  1921-05-19   \n",
       "2196     Borrow        NaN  1922-06-13   \n",
       "\n",
       "                                            member_uris  \\\n",
       "534   https://shakespeareandco.princeton.edu/members...   \n",
       "573   https://shakespeareandco.princeton.edu/members...   \n",
       "616   https://shakespeareandco.princeton.edu/members...   \n",
       "1419  https://shakespeareandco.princeton.edu/members...   \n",
       "2196  https://shakespeareandco.princeton.edu/members...   \n",
       "\n",
       "                                 member_names     member_sort_names  \\\n",
       "534                             Colette Weiss        Weiss, Colette   \n",
       "573   Hélène de Wendel / Comtesse de Noailles     de Wendel, Hélène   \n",
       "616                               James Joyce          Joyce, James   \n",
       "1419                               Mr. Morgan           Morgan, Mr.   \n",
       "2196                      Colette Ottensooser  Ottensooser, Colette   \n",
       "\n",
       "      subscription_price_paid  subscription_deposit subscription_duration  \\\n",
       "534                       NaN                   NaN                   NaN   \n",
       "573                       NaN                   NaN                   NaN   \n",
       "616                       NaN                   NaN                   NaN   \n",
       "1419                      NaN                   NaN                   NaN   \n",
       "2196                      NaN                   NaN                   NaN   \n",
       "\n",
       "      subscription_duration_days  ...  item_year item_notes  \\\n",
       "534                          NaN  ...        NaN        NaN   \n",
       "573                          NaN  ...     1883.0        NaN   \n",
       "616                          NaN  ...     1912.0        NaN   \n",
       "1419                         NaN  ...     1920.0        NaN   \n",
       "2196                         NaN  ...     1915.0        NaN   \n",
       "\n",
       "               source_type                                    source_citation  \\\n",
       "534   Lending Library Card  Sylvia Beach, Mme Collette Weiss Lending Libra...   \n",
       "573   Lending Library Card  Sylvia Beach, Madame Hélène Wendel Lending Lib...   \n",
       "616   Lending Library Card  James Joyce's lending library cards not repres...   \n",
       "1419  Lending Library Card  Sylvia Beach, Mr Morgan Lending Library Card, ...   \n",
       "2196  Lending Library Card  Sylvia Beach, Colette Ottensooser Lending Libr...   \n",
       "\n",
       "                                        source_manifest  \\\n",
       "534   https://figgy.princeton.edu/concern/scanned_re...   \n",
       "573   https://figgy.princeton.edu/concern/scanned_re...   \n",
       "616                                                 NaN   \n",
       "1419  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "2196  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "\n",
       "                                           source_image  start_year end_year  \\\n",
       "534   https://iiif.princeton.edu/loris/figgy_prod/ac...        None     1935   \n",
       "573   https://iiif-cloud.princeton.edu/iiif/2/0c%2F5...        None     1944   \n",
       "616                                                 NaN        None            \n",
       "1419  https://iiif-cloud.princeton.edu/iiif/2/ee%2F0...        None     1921   \n",
       "2196  https://iiif.princeton.edu/loris/figgy_prod/18...        None     1922   \n",
       "\n",
       "     year has_year  \n",
       "534   NaN        1  \n",
       "573   NaN        1  \n",
       "616   NaN        1  \n",
       "1419  NaN        1  \n",
       "2196  NaN        1  \n",
       "\n",
       "[5 rows x 32 columns]"
      ]
     },
     "execution_count": 54,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#no_start = events_df.dropna(subset=['start_date'])\n",
    "no_start = events_df.copy()\n",
    "no_start = no_start[~no_start.end_date.isnull()]\n",
    "no_start = no_start[no_start.start_date.isnull()]\n",
    "print('%d events with end date but no start' % len(no_start))\n",
    "no_start.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 55,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 81
    },
    "id": "a8LqWtu1vlw_",
    "outputId": "28353d94-aa44-44b8-9532-0705546d9904"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>count</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>36</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  event_type  count\n",
       "0     Borrow     36"
      ]
     },
     "execution_count": 55,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "no_start_type = no_start.groupby([\"event_type\"]).size().reset_index(name='count').sort_values(['count'], ascending=False)\n",
    "no_start_type"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "Azt83sL0hRtH"
   },
   "source": [
    "## partial date totals"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 56,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 424
    },
    "id": "u3-C-LlXgRnu",
    "outputId": "328caf2c-6dde-4173-f339-2118c7e15f33"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>start_date</th>\n",
       "      <th>start_year</th>\n",
       "      <th>start_month</th>\n",
       "      <th>start_day</th>\n",
       "      <th>end_date</th>\n",
       "      <th>end_year</th>\n",
       "      <th>end_month</th>\n",
       "      <th>end_day</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1920</td>\n",
       "      <td>1920</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1921</td>\n",
       "      <td>1921</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1922</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1922-08-23</td>\n",
       "      <td>1922</td>\n",
       "      <td>08</td>\n",
       "      <td>23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1922</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1922</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35518</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35519</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35520</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35521</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35522</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>35523 rows × 8 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      start_date start_year start_month start_day    end_date end_year  \\\n",
       "0           1920       1920         NaN       NaN         NaN      NaN   \n",
       "1           1921       1921         NaN       NaN         NaN      NaN   \n",
       "2           1922       1922         NaN       NaN  1922-08-23     1922   \n",
       "3           1922       1922         NaN       NaN         NaN      NaN   \n",
       "4           1922       1922         NaN       NaN         NaN      NaN   \n",
       "...          ...        ...         ...       ...         ...      ...   \n",
       "35518        NaN        NaN         NaN       NaN         NaN      NaN   \n",
       "35519        NaN        NaN         NaN       NaN         NaN      NaN   \n",
       "35520        NaN        NaN         NaN       NaN         NaN      NaN   \n",
       "35521        NaN        NaN         NaN       NaN         NaN      NaN   \n",
       "35522        NaN        NaN         NaN       NaN         NaN      NaN   \n",
       "\n",
       "      end_month end_day  \n",
       "0           NaN     NaN  \n",
       "1           NaN     NaN  \n",
       "2            08      23  \n",
       "3           NaN     NaN  \n",
       "4           NaN     NaN  \n",
       "...         ...     ...  \n",
       "35518       NaN     NaN  \n",
       "35519       NaN     NaN  \n",
       "35520       NaN     NaN  \n",
       "35521       NaN     NaN  \n",
       "35522       NaN     NaN  \n",
       "\n",
       "[35523 rows x 8 columns]"
      ]
     },
     "execution_count": 56,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "event_dates = events_df.copy()\n",
    "date_regex = r'(?P<year>(?:\\d{4}|-))-?(?P<month>\\d{2})?-?(?P<day>\\d{2})?'\n",
    "event_dates[['start_year','start_month','start_day']] = event_dates.start_date.str.extract(date_regex, expand=True)\n",
    "event_dates[['end_year','end_month','end_day']] = event_dates.end_date.str.extract(date_regex, expand=True)\n",
    "# convert unknown years to None\n",
    "event_dates.start_year.replace('-', None, inplace=True)\n",
    "event_dates.end_year.replace('-', None, inplace=True)\n",
    "event_dates[['start_date', 'start_year', 'start_month', 'start_day', 'end_date', 'end_year', 'end_month', 'end_day']]"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "8DIth_smy44i"
   },
   "source": [
    "### no dates known"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 57,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 922
    },
    "id": "ywMBAAKFjSeh",
    "outputId": "13f0a35c-c646-417a-9d35-508cbed8dcbb"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "383 events with no date\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>source_manifest</th>\n",
       "      <th>source_image</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "      <th>has_year</th>\n",
       "      <th>start_month</th>\n",
       "      <th>start_day</th>\n",
       "      <th>end_month</th>\n",
       "      <th>end_day</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>35140</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>R. Constable</td>\n",
       "      <td>Constable, R.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35141</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Father Gill</td>\n",
       "      <td>Gill, Father</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35142</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mlle de Ginestet</td>\n",
       "      <td>Ginestet, Mlle de</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35143</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Goff</td>\n",
       "      <td>Goff, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35144</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Gordon-Brown</td>\n",
       "      <td>Gordon-Brown, Mrs.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35145</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mlle Goukowsky / Goukowska</td>\n",
       "      <td>Mlle Goukowsky</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35146</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Robert Grant</td>\n",
       "      <td>Grant, Mrs. Robert</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35147</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Freeman Gray</td>\n",
       "      <td>Gray, Freeman</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35148</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. D. O. Gray</td>\n",
       "      <td>Gray, Mrs. D. O.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35149</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. G. S. Connor</td>\n",
       "      <td>Connor, Mrs. G. S.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>10 rows × 36 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "          event_type start_date end_date  \\\n",
       "35140  Reimbursement        NaN      NaN   \n",
       "35141  Reimbursement        NaN      NaN   \n",
       "35142  Reimbursement        NaN      NaN   \n",
       "35143  Reimbursement        NaN      NaN   \n",
       "35144  Reimbursement        NaN      NaN   \n",
       "35145  Reimbursement        NaN      NaN   \n",
       "35146  Reimbursement        NaN      NaN   \n",
       "35147  Reimbursement        NaN      NaN   \n",
       "35148  Reimbursement        NaN      NaN   \n",
       "35149  Reimbursement        NaN      NaN   \n",
       "\n",
       "                                             member_uris  \\\n",
       "35140  https://shakespeareandco.princeton.edu/members...   \n",
       "35141  https://shakespeareandco.princeton.edu/members...   \n",
       "35142  https://shakespeareandco.princeton.edu/members...   \n",
       "35143  https://shakespeareandco.princeton.edu/members...   \n",
       "35144  https://shakespeareandco.princeton.edu/members...   \n",
       "35145  https://shakespeareandco.princeton.edu/members...   \n",
       "35146  https://shakespeareandco.princeton.edu/members...   \n",
       "35147  https://shakespeareandco.princeton.edu/members...   \n",
       "35148  https://shakespeareandco.princeton.edu/members...   \n",
       "35149  https://shakespeareandco.princeton.edu/members...   \n",
       "\n",
       "                     member_names   member_sort_names  \\\n",
       "35140                R. Constable       Constable, R.   \n",
       "35141                 Father Gill        Gill, Father   \n",
       "35142            Mlle de Ginestet   Ginestet, Mlle de   \n",
       "35143                    Mr. Goff           Goff, Mr.   \n",
       "35144           Mrs. Gordon-Brown  Gordon-Brown, Mrs.   \n",
       "35145  Mlle Goukowsky / Goukowska      Mlle Goukowsky   \n",
       "35146           Mrs. Robert Grant  Grant, Mrs. Robert   \n",
       "35147                Freeman Gray       Gray, Freeman   \n",
       "35148             Mrs. D. O. Gray    Gray, Mrs. D. O.   \n",
       "35149           Mrs. G. S. Connor  Connor, Mrs. G. S.   \n",
       "\n",
       "       subscription_price_paid  subscription_deposit subscription_duration  \\\n",
       "35140                      NaN                   NaN                   NaN   \n",
       "35141                      NaN                   NaN                   NaN   \n",
       "35142                      NaN                   NaN                   NaN   \n",
       "35143                      NaN                   NaN                   NaN   \n",
       "35144                      NaN                   NaN                   NaN   \n",
       "35145                      NaN                   NaN                   NaN   \n",
       "35146                      NaN                   NaN                   NaN   \n",
       "35147                      NaN                   NaN                   NaN   \n",
       "35148                      NaN                   NaN                   NaN   \n",
       "35149                      NaN                   NaN                   NaN   \n",
       "\n",
       "       subscription_duration_days  ...  source_manifest source_image  \\\n",
       "35140                         NaN  ...              NaN          NaN   \n",
       "35141                         NaN  ...              NaN          NaN   \n",
       "35142                         NaN  ...              NaN          NaN   \n",
       "35143                         NaN  ...              NaN          NaN   \n",
       "35144                         NaN  ...              NaN          NaN   \n",
       "35145                         NaN  ...              NaN          NaN   \n",
       "35146                         NaN  ...              NaN          NaN   \n",
       "35147                         NaN  ...              NaN          NaN   \n",
       "35148                         NaN  ...              NaN          NaN   \n",
       "35149                         NaN  ...              NaN          NaN   \n",
       "\n",
       "      start_year  end_year year  has_year  start_month start_day end_month  \\\n",
       "35140        NaN       NaN  NaN         0          NaN       NaN       NaN   \n",
       "35141        NaN       NaN  NaN         0          NaN       NaN       NaN   \n",
       "35142        NaN       NaN  NaN         0          NaN       NaN       NaN   \n",
       "35143        NaN       NaN  NaN         0          NaN       NaN       NaN   \n",
       "35144        NaN       NaN  NaN         0          NaN       NaN       NaN   \n",
       "35145        NaN       NaN  NaN         0          NaN       NaN       NaN   \n",
       "35146        NaN       NaN  NaN         0          NaN       NaN       NaN   \n",
       "35147        NaN       NaN  NaN         0          NaN       NaN       NaN   \n",
       "35148        NaN       NaN  NaN         0          NaN       NaN       NaN   \n",
       "35149        NaN       NaN  NaN         0          NaN       NaN       NaN   \n",
       "\n",
       "      end_day  \n",
       "35140     NaN  \n",
       "35141     NaN  \n",
       "35142     NaN  \n",
       "35143     NaN  \n",
       "35144     NaN  \n",
       "35145     NaN  \n",
       "35146     NaN  \n",
       "35147     NaN  \n",
       "35148     NaN  \n",
       "35149     NaN  \n",
       "\n",
       "[10 rows x 36 columns]"
      ]
     },
     "execution_count": 57,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "no_date = event_dates[event_dates.start_date.isnull() & event_dates.end_date.isnull()]\n",
    "print('%d events with no date' % len(no_date))\n",
    "no_date.head(10)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "Jhb9-TdNzc8A"
   },
   "source": [
    "### year only"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 58,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 966
    },
    "id": "Ej_Gs-0Zy9xY",
    "outputId": "1abf57b6-35d6-49b9-c301-df3ada4ae6d7"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "159 events with year only\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>source_manifest</th>\n",
       "      <th>source_image</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "      <th>has_year</th>\n",
       "      <th>start_month</th>\n",
       "      <th>start_day</th>\n",
       "      <th>end_month</th>\n",
       "      <th>end_day</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Generic</td>\n",
       "      <td>1920</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Raymonde Linossier</td>\n",
       "      <td>Linossier, Raymonde</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/00...</td>\n",
       "      <td>1920</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1920</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1921</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme Garreta</td>\n",
       "      <td>Garreta, Mme</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1921</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1921</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Generic</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Ernest Walsh</td>\n",
       "      <td>Walsh, Ernest</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/af...</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1922</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Lincoln</td>\n",
       "      <td>Lincoln, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1922</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Crossed out</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Morgan</td>\n",
       "      <td>Morgan, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/1d%2F0...</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1923</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>204</th>\n",
       "      <td>Generic</td>\n",
       "      <td>1958</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Louis Falquel</td>\n",
       "      <td>Falquel, Louis</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/96...</td>\n",
       "      <td>1958</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1958</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>205</th>\n",
       "      <td>Generic</td>\n",
       "      <td>1958</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Louis Falquel</td>\n",
       "      <td>Falquel, Louis</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/96...</td>\n",
       "      <td>1958</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1958</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>206</th>\n",
       "      <td>Generic</td>\n",
       "      <td>1958</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Louis Falquel</td>\n",
       "      <td>Falquel, Louis</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/96...</td>\n",
       "      <td>1958</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1958</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>207</th>\n",
       "      <td>Generic</td>\n",
       "      <td>1958</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Louis Falquel</td>\n",
       "      <td>Falquel, Louis</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/96...</td>\n",
       "      <td>1958</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1958</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>208</th>\n",
       "      <td>Crossed out</td>\n",
       "      <td>1960</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Dorothy (Dudley) Harvey</td>\n",
       "      <td>Harvey, Dorothy</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/1b...</td>\n",
       "      <td>1960</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1960</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>159 rows × 36 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       event_type start_date end_date  \\\n",
       "0         Generic       1920      NaN   \n",
       "1    Subscription       1921      NaN   \n",
       "3         Generic       1922      NaN   \n",
       "4    Subscription       1922      NaN   \n",
       "5     Crossed out       1923      NaN   \n",
       "..            ...        ...      ...   \n",
       "204       Generic       1958      NaN   \n",
       "205       Generic       1958      NaN   \n",
       "206       Generic       1958      NaN   \n",
       "207       Generic       1958      NaN   \n",
       "208   Crossed out       1960      NaN   \n",
       "\n",
       "                                           member_uris  \\\n",
       "0    https://shakespeareandco.princeton.edu/members...   \n",
       "1    https://shakespeareandco.princeton.edu/members...   \n",
       "3    https://shakespeareandco.princeton.edu/members...   \n",
       "4    https://shakespeareandco.princeton.edu/members...   \n",
       "5    https://shakespeareandco.princeton.edu/members...   \n",
       "..                                                 ...   \n",
       "204  https://shakespeareandco.princeton.edu/members...   \n",
       "205  https://shakespeareandco.princeton.edu/members...   \n",
       "206  https://shakespeareandco.princeton.edu/members...   \n",
       "207  https://shakespeareandco.princeton.edu/members...   \n",
       "208  https://shakespeareandco.princeton.edu/members...   \n",
       "\n",
       "                member_names    member_sort_names  subscription_price_paid  \\\n",
       "0         Raymonde Linossier  Linossier, Raymonde                      NaN   \n",
       "1                Mme Garreta         Garreta, Mme                      NaN   \n",
       "3               Ernest Walsh        Walsh, Ernest                      NaN   \n",
       "4                Mr. Lincoln         Lincoln, Mr.                      NaN   \n",
       "5                 Mr. Morgan          Morgan, Mr.                      NaN   \n",
       "..                       ...                  ...                      ...   \n",
       "204            Louis Falquel       Falquel, Louis                      NaN   \n",
       "205            Louis Falquel       Falquel, Louis                      NaN   \n",
       "206            Louis Falquel       Falquel, Louis                      NaN   \n",
       "207            Louis Falquel       Falquel, Louis                      NaN   \n",
       "208  Dorothy (Dudley) Harvey      Harvey, Dorothy                      NaN   \n",
       "\n",
       "     subscription_deposit subscription_duration  subscription_duration_days  \\\n",
       "0                     NaN                   NaN                         NaN   \n",
       "1                     NaN                   NaN                         NaN   \n",
       "3                     NaN                   NaN                         NaN   \n",
       "4                     7.0                   NaN                         NaN   \n",
       "5                     NaN                   NaN                         NaN   \n",
       "..                    ...                   ...                         ...   \n",
       "204                   NaN                   NaN                         NaN   \n",
       "205                   NaN                   NaN                         NaN   \n",
       "206                   NaN                   NaN                         NaN   \n",
       "207                   NaN                   NaN                         NaN   \n",
       "208                   NaN                   NaN                         NaN   \n",
       "\n",
       "     ...                                    source_manifest  \\\n",
       "0    ...  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "1    ...                                                NaN   \n",
       "3    ...  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "4    ...                                                NaN   \n",
       "5    ...  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "..   ...                                                ...   \n",
       "204  ...  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "205  ...  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "206  ...  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "207  ...  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "208  ...  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "\n",
       "                                          source_image start_year  end_year  \\\n",
       "0    https://iiif.princeton.edu/loris/figgy_prod/00...       1920       NaN   \n",
       "1                                                  NaN       1921       NaN   \n",
       "3    https://iiif.princeton.edu/loris/figgy_prod/af...       1922       NaN   \n",
       "4                                                  NaN       1922       NaN   \n",
       "5    https://iiif-cloud.princeton.edu/iiif/2/1d%2F0...       1923       NaN   \n",
       "..                                                 ...        ...       ...   \n",
       "204  https://iiif.princeton.edu/loris/figgy_prod/96...       1958       NaN   \n",
       "205  https://iiif.princeton.edu/loris/figgy_prod/96...       1958       NaN   \n",
       "206  https://iiif.princeton.edu/loris/figgy_prod/96...       1958       NaN   \n",
       "207  https://iiif.princeton.edu/loris/figgy_prod/96...       1958       NaN   \n",
       "208  https://iiif.princeton.edu/loris/figgy_prod/1b...       1960       NaN   \n",
       "\n",
       "     year  has_year  start_month start_day end_month end_day  \n",
       "0    1920         1          NaN       NaN       NaN     NaN  \n",
       "1    1921         1          NaN       NaN       NaN     NaN  \n",
       "3    1922         1          NaN       NaN       NaN     NaN  \n",
       "4    1922         1          NaN       NaN       NaN     NaN  \n",
       "5    1923         1          NaN       NaN       NaN     NaN  \n",
       "..    ...       ...          ...       ...       ...     ...  \n",
       "204  1958         1          NaN       NaN       NaN     NaN  \n",
       "205  1958         1          NaN       NaN       NaN     NaN  \n",
       "206  1958         1          NaN       NaN       NaN     NaN  \n",
       "207  1958         1          NaN       NaN       NaN     NaN  \n",
       "208  1960         1          NaN       NaN       NaN     NaN  \n",
       "\n",
       "[159 rows x 36 columns]"
      ]
     },
     "execution_count": 58,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# remove all events with no start or end date\n",
    "year_only = event_dates[~(event_dates.start_date.isnull() & event_dates.end_date.isnull())]\n",
    "# remove either month known\n",
    "year_only = year_only[year_only.start_month.isnull() & year_only.end_month.isnull()]\n",
    "year_only = year_only[year_only.start_day.isnull() & year_only.end_day.isnull()]\n",
    "print('%d events with year only' % len(year_only))\n",
    "year_only"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "eh0NVbzJ1zOf"
   },
   "source": [
    "### year/month only"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 59,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 1000
    },
    "id": "Idvpe8Haz8SM",
    "outputId": "707a328d-4523-4d48-c95d-a7b8ddcd85d7"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "494 events with year/month only\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>source_manifest</th>\n",
       "      <th>source_image</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "      <th>has_year</th>\n",
       "      <th>start_month</th>\n",
       "      <th>start_day</th>\n",
       "      <th>end_month</th>\n",
       "      <th>end_day</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Generic</td>\n",
       "      <td>1920</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Raymonde Linossier</td>\n",
       "      <td>Linossier, Raymonde</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/00...</td>\n",
       "      <td>1920</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1920</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1921</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme Garreta</td>\n",
       "      <td>Garreta, Mme</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1921</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1921</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Generic</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Ernest Walsh</td>\n",
       "      <td>Walsh, Ernest</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/af...</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1922</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Lincoln</td>\n",
       "      <td>Lincoln, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1922</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Crossed out</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Morgan</td>\n",
       "      <td>Morgan, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/1d%2F0...</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1923</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>585</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>1947-05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Anne Yeats</td>\n",
       "      <td>Yeats, Anne</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/57...</td>\n",
       "      <td>1947</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1947</td>\n",
       "      <td>1</td>\n",
       "      <td>05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>586</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>1947-05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Anne Yeats</td>\n",
       "      <td>Yeats, Anne</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/57...</td>\n",
       "      <td>1947</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1947</td>\n",
       "      <td>1</td>\n",
       "      <td>05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>587</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>1947-05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Anne Yeats</td>\n",
       "      <td>Yeats, Anne</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/57...</td>\n",
       "      <td>1947</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1947</td>\n",
       "      <td>1</td>\n",
       "      <td>05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>588</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>1947-05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Anne Yeats</td>\n",
       "      <td>Yeats, Anne</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/57...</td>\n",
       "      <td>1947</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1947</td>\n",
       "      <td>1</td>\n",
       "      <td>05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>589</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>1947-05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Anne Yeats</td>\n",
       "      <td>Yeats, Anne</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/57...</td>\n",
       "      <td>1947</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1947</td>\n",
       "      <td>1</td>\n",
       "      <td>05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>494 rows × 36 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       event_type start_date end_date  \\\n",
       "0         Generic       1920      NaN   \n",
       "1    Subscription       1921      NaN   \n",
       "3         Generic       1922      NaN   \n",
       "4    Subscription       1922      NaN   \n",
       "5     Crossed out       1923      NaN   \n",
       "..            ...        ...      ...   \n",
       "585        Borrow    1947-05      NaN   \n",
       "586        Borrow    1947-05      NaN   \n",
       "587        Borrow    1947-05      NaN   \n",
       "588        Borrow    1947-05      NaN   \n",
       "589        Borrow    1947-05      NaN   \n",
       "\n",
       "                                           member_uris        member_names  \\\n",
       "0    https://shakespeareandco.princeton.edu/members...  Raymonde Linossier   \n",
       "1    https://shakespeareandco.princeton.edu/members...         Mme Garreta   \n",
       "3    https://shakespeareandco.princeton.edu/members...        Ernest Walsh   \n",
       "4    https://shakespeareandco.princeton.edu/members...         Mr. Lincoln   \n",
       "5    https://shakespeareandco.princeton.edu/members...          Mr. Morgan   \n",
       "..                                                 ...                 ...   \n",
       "585  https://shakespeareandco.princeton.edu/members...          Anne Yeats   \n",
       "586  https://shakespeareandco.princeton.edu/members...          Anne Yeats   \n",
       "587  https://shakespeareandco.princeton.edu/members...          Anne Yeats   \n",
       "588  https://shakespeareandco.princeton.edu/members...          Anne Yeats   \n",
       "589  https://shakespeareandco.princeton.edu/members...          Anne Yeats   \n",
       "\n",
       "       member_sort_names  subscription_price_paid  subscription_deposit  \\\n",
       "0    Linossier, Raymonde                      NaN                   NaN   \n",
       "1           Garreta, Mme                      NaN                   NaN   \n",
       "3          Walsh, Ernest                      NaN                   NaN   \n",
       "4           Lincoln, Mr.                      NaN                   7.0   \n",
       "5            Morgan, Mr.                      NaN                   NaN   \n",
       "..                   ...                      ...                   ...   \n",
       "585          Yeats, Anne                      NaN                   NaN   \n",
       "586          Yeats, Anne                      NaN                   NaN   \n",
       "587          Yeats, Anne                      NaN                   NaN   \n",
       "588          Yeats, Anne                      NaN                   NaN   \n",
       "589          Yeats, Anne                      NaN                   NaN   \n",
       "\n",
       "    subscription_duration  subscription_duration_days  ...  \\\n",
       "0                     NaN                         NaN  ...   \n",
       "1                     NaN                         NaN  ...   \n",
       "3                     NaN                         NaN  ...   \n",
       "4                     NaN                         NaN  ...   \n",
       "5                     NaN                         NaN  ...   \n",
       "..                    ...                         ...  ...   \n",
       "585                   NaN                         NaN  ...   \n",
       "586                   NaN                         NaN  ...   \n",
       "587                   NaN                         NaN  ...   \n",
       "588                   NaN                         NaN  ...   \n",
       "589                   NaN                         NaN  ...   \n",
       "\n",
       "                                       source_manifest  \\\n",
       "0    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "1                                                  NaN   \n",
       "3    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "4                                                  NaN   \n",
       "5    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "..                                                 ...   \n",
       "585  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "586  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "587  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "588  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "589  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "\n",
       "                                          source_image start_year  end_year  \\\n",
       "0    https://iiif.princeton.edu/loris/figgy_prod/00...       1920       NaN   \n",
       "1                                                  NaN       1921       NaN   \n",
       "3    https://iiif.princeton.edu/loris/figgy_prod/af...       1922       NaN   \n",
       "4                                                  NaN       1922       NaN   \n",
       "5    https://iiif-cloud.princeton.edu/iiif/2/1d%2F0...       1923       NaN   \n",
       "..                                                 ...        ...       ...   \n",
       "585  https://iiif.princeton.edu/loris/figgy_prod/57...       1947       NaN   \n",
       "586  https://iiif.princeton.edu/loris/figgy_prod/57...       1947       NaN   \n",
       "587  https://iiif.princeton.edu/loris/figgy_prod/57...       1947       NaN   \n",
       "588  https://iiif.princeton.edu/loris/figgy_prod/57...       1947       NaN   \n",
       "589  https://iiif.princeton.edu/loris/figgy_prod/57...       1947       NaN   \n",
       "\n",
       "     year  has_year  start_month start_day end_month end_day  \n",
       "0    1920         1          NaN       NaN       NaN     NaN  \n",
       "1    1921         1          NaN       NaN       NaN     NaN  \n",
       "3    1922         1          NaN       NaN       NaN     NaN  \n",
       "4    1922         1          NaN       NaN       NaN     NaN  \n",
       "5    1923         1          NaN       NaN       NaN     NaN  \n",
       "..    ...       ...          ...       ...       ...     ...  \n",
       "585  1947         1           05       NaN       NaN     NaN  \n",
       "586  1947         1           05       NaN       NaN     NaN  \n",
       "587  1947         1           05       NaN       NaN     NaN  \n",
       "588  1947         1           05       NaN       NaN     NaN  \n",
       "589  1947         1           05       NaN       NaN     NaN  \n",
       "\n",
       "[494 rows x 36 columns]"
      ]
     },
     "execution_count": 59,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# remove all events with no start or end date\n",
    "yearmonth_only = event_dates[~(event_dates.start_date.isnull() & event_dates.end_date.isnull())]\n",
    "# remove day known\n",
    "yearmonth_only = yearmonth_only[yearmonth_only.start_day.isnull() & yearmonth_only.end_day.isnull()]\n",
    "print('%d events with year/month only' % len(yearmonth_only))\n",
    "yearmonth_only"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "7kqF3wWA2Gex"
   },
   "source": [
    "### day/month only"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 60,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 1000
    },
    "id": "4ng1Qoge18cH",
    "outputId": "6d01a8f2-0cfa-40d2-daeb-25f4a0d683f7"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "55 events with month/day only\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>source_manifest</th>\n",
       "      <th>source_image</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "      <th>has_year</th>\n",
       "      <th>start_month</th>\n",
       "      <th>start_day</th>\n",
       "      <th>end_month</th>\n",
       "      <th>end_day</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>616</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>NaN</td>\n",
       "      <td>--02-01</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>James Joyce</td>\n",
       "      <td>Joyce, James</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>02</td>\n",
       "      <td>01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>617</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--02-04</td>\n",
       "      <td>--02-11</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>G. E. Pulsford</td>\n",
       "      <td>Pulsford, G. E.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/17...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>02</td>\n",
       "      <td>04</td>\n",
       "      <td>02</td>\n",
       "      <td>11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>618</th>\n",
       "      <td>Crossed out</td>\n",
       "      <td>--02-10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Morgan</td>\n",
       "      <td>Morgan, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/cc%2Ff...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>02</td>\n",
       "      <td>10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>619</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--02-11</td>\n",
       "      <td>--02-18</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>G. E. Pulsford</td>\n",
       "      <td>Pulsford, G. E.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/17...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>02</td>\n",
       "      <td>11</td>\n",
       "      <td>02</td>\n",
       "      <td>18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>620</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--02-18</td>\n",
       "      <td>--02-28</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>G. E. Pulsford</td>\n",
       "      <td>Pulsford, G. E.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/17...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>02</td>\n",
       "      <td>18</td>\n",
       "      <td>02</td>\n",
       "      <td>28</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>621</th>\n",
       "      <td>Generic</td>\n",
       "      <td>--02-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Pierre Denis</td>\n",
       "      <td>Denis, Pierre</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b2...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>02</td>\n",
       "      <td>28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>622</th>\n",
       "      <td>Generic</td>\n",
       "      <td>--02-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Pierre Denis</td>\n",
       "      <td>Denis, Pierre</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b2...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>02</td>\n",
       "      <td>28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>623</th>\n",
       "      <td>Generic</td>\n",
       "      <td>--02-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Pierre Denis</td>\n",
       "      <td>Denis, Pierre</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b2...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>02</td>\n",
       "      <td>28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>624</th>\n",
       "      <td>Generic</td>\n",
       "      <td>--02-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Pierre Denis</td>\n",
       "      <td>Denis, Pierre</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b2...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>02</td>\n",
       "      <td>28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>625</th>\n",
       "      <td>Generic</td>\n",
       "      <td>--02-28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Pierre Denis</td>\n",
       "      <td>Denis, Pierre</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b2...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>02</td>\n",
       "      <td>28</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>626</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--03-13</td>\n",
       "      <td>--04-27</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>M. Fournerey</td>\n",
       "      <td>Fournerey, M.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/c7...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>03</td>\n",
       "      <td>13</td>\n",
       "      <td>04</td>\n",
       "      <td>27</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>627</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--03-30</td>\n",
       "      <td>--04-06</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Visser</td>\n",
       "      <td>Visser, Mrs.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b8...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>03</td>\n",
       "      <td>30</td>\n",
       "      <td>04</td>\n",
       "      <td>06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>628</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--04-13</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Leo Stein</td>\n",
       "      <td>Stein, Leo</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/7a...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>04</td>\n",
       "      <td>13</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>629</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--04-20</td>\n",
       "      <td>--04-23</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Robert McAlmon</td>\n",
       "      <td>McAlmon, Robert</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/9c%2Fd...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>04</td>\n",
       "      <td>20</td>\n",
       "      <td>04</td>\n",
       "      <td>23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>630</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--05-07</td>\n",
       "      <td>--05-23</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Bernard Hommel</td>\n",
       "      <td>Hommel, Bernard</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/41...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>05</td>\n",
       "      <td>07</td>\n",
       "      <td>05</td>\n",
       "      <td>23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>631</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--05-14</td>\n",
       "      <td>--05-23</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Bernard Hommel</td>\n",
       "      <td>Hommel, Bernard</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/41...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>05</td>\n",
       "      <td>14</td>\n",
       "      <td>05</td>\n",
       "      <td>23</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>632</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--06-07</td>\n",
       "      <td>--06-06</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Yvonne Davet</td>\n",
       "      <td>Davet, Yvonne</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/8c...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>06</td>\n",
       "      <td>07</td>\n",
       "      <td>06</td>\n",
       "      <td>06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>633</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--06-23</td>\n",
       "      <td>--06-30</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Marthe Lamy</td>\n",
       "      <td>Lamy, Marthe</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/5b%2F5...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>06</td>\n",
       "      <td>23</td>\n",
       "      <td>06</td>\n",
       "      <td>30</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>634</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--06-27</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Julia Wright</td>\n",
       "      <td>Wright, Julia</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/a1...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>06</td>\n",
       "      <td>27</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>635</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--06-27</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Julia Wright</td>\n",
       "      <td>Wright, Julia</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/a1...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>06</td>\n",
       "      <td>27</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>636</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--06-27</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Julia Wright</td>\n",
       "      <td>Wright, Julia</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/a1...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>06</td>\n",
       "      <td>27</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>637</th>\n",
       "      <td>Generic</td>\n",
       "      <td>--07-01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>James S. Sheldon</td>\n",
       "      <td>Sheldon, James S.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/0c%2Ff...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>07</td>\n",
       "      <td>01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>638</th>\n",
       "      <td>Crossed out</td>\n",
       "      <td>--08-21</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Holly (Beach) Dennis / Miss Holly Beach / Mrs....</td>\n",
       "      <td>Dennis, Holly</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/05...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>08</td>\n",
       "      <td>21</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>639</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-06</td>\n",
       "      <td>--10-13</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Thomas J. Felder</td>\n",
       "      <td>Felder, Mrs. Thomas J.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/d8%2Fe...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>06</td>\n",
       "      <td>10</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>640</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-06</td>\n",
       "      <td>--10-07</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Romer Wilson</td>\n",
       "      <td>Wilson, Romer</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/4c...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>06</td>\n",
       "      <td>10</td>\n",
       "      <td>07</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>641</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>--10-06</td>\n",
       "      <td>--11-06</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Thomas J. Felder</td>\n",
       "      <td>Felder, Mrs. Thomas J.</td>\n",
       "      <td>35.0</td>\n",
       "      <td>30.0</td>\n",
       "      <td>1 month</td>\n",
       "      <td>31.0</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/d8%2Fe...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>06</td>\n",
       "      <td>11</td>\n",
       "      <td>06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>642</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>--10-06</td>\n",
       "      <td>--10-13</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Romer Wilson</td>\n",
       "      <td>Wilson, Romer</td>\n",
       "      <td>2.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1 week</td>\n",
       "      <td>7.0</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/4c...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>06</td>\n",
       "      <td>10</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>643</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-07</td>\n",
       "      <td>--10-10</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Romer Wilson</td>\n",
       "      <td>Wilson, Romer</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/4c...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>07</td>\n",
       "      <td>10</td>\n",
       "      <td>10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>644</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-10</td>\n",
       "      <td>--10-11</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Romer Wilson</td>\n",
       "      <td>Wilson, Romer</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/4c...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>10</td>\n",
       "      <td>10</td>\n",
       "      <td>11</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>645</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Louis Aragon</td>\n",
       "      <td>Aragon, Louis</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/52...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>10</td>\n",
       "      <td>11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>646</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Louis Aragon</td>\n",
       "      <td>Aragon, Louis</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/52...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>10</td>\n",
       "      <td>11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>647</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Romer Wilson</td>\n",
       "      <td>Wilson, Romer</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/4c...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>10</td>\n",
       "      <td>11</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>648</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-12</td>\n",
       "      <td>--10-13</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Romer Wilson</td>\n",
       "      <td>Wilson, Romer</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/4c...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>12</td>\n",
       "      <td>10</td>\n",
       "      <td>13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>649</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-13</td>\n",
       "      <td>--10-18</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Thomas J. Felder</td>\n",
       "      <td>Felder, Mrs. Thomas J.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/d8%2Fe...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>13</td>\n",
       "      <td>10</td>\n",
       "      <td>18</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>650</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-13</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Romer Wilson</td>\n",
       "      <td>Wilson, Romer</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/4c...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>10</td>\n",
       "      <td>13</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>651</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Romer Wilson</td>\n",
       "      <td>Wilson, Romer</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/4c...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>10</td>\n",
       "      <td>15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>652</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Romer Wilson</td>\n",
       "      <td>Wilson, Romer</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/4c...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>10</td>\n",
       "      <td>15</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>653</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-18</td>\n",
       "      <td>--10-27</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Thomas J. Felder</td>\n",
       "      <td>Felder, Mrs. Thomas J.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/d8%2Fe...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>18</td>\n",
       "      <td>10</td>\n",
       "      <td>27</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>654</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--10-27</td>\n",
       "      <td>--11-02</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Thomas J. Felder</td>\n",
       "      <td>Felder, Mrs. Thomas J.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/d8%2Fe...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>10</td>\n",
       "      <td>27</td>\n",
       "      <td>11</td>\n",
       "      <td>02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>655</th>\n",
       "      <td>Crossed out</td>\n",
       "      <td>--10-29</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>William van Wyck</td>\n",
       "      <td>van Wyck, William</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/a0...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>10</td>\n",
       "      <td>29</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>656</th>\n",
       "      <td>Crossed out</td>\n",
       "      <td>--10-30</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>William van Wyck</td>\n",
       "      <td>van Wyck, William</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/a0...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>10</td>\n",
       "      <td>30</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>657</th>\n",
       "      <td>Crossed out</td>\n",
       "      <td>--11-05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>E. Harden</td>\n",
       "      <td>Harden, E.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/0b...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>11</td>\n",
       "      <td>05</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>658</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--11-14</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Marjorie Reid</td>\n",
       "      <td>Reid, Marjorie</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/3d...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>11</td>\n",
       "      <td>14</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>659</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--11-18</td>\n",
       "      <td>--11-20</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Visser</td>\n",
       "      <td>Visser, Mrs.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b8...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>11</td>\n",
       "      <td>18</td>\n",
       "      <td>11</td>\n",
       "      <td>20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>660</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>--11-18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Visser</td>\n",
       "      <td>Visser, Mrs.</td>\n",
       "      <td>2.0</td>\n",
       "      <td>100.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b8...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>11</td>\n",
       "      <td>18</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>661</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>--11-20</td>\n",
       "      <td>--11-20</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Visser</td>\n",
       "      <td>Visser, Mrs.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b8...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>11</td>\n",
       "      <td>20</td>\n",
       "      <td>11</td>\n",
       "      <td>20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>662</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>--11-20</td>\n",
       "      <td>--11-20</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Visser</td>\n",
       "      <td>Visser, Mrs.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/b8...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>11</td>\n",
       "      <td>20</td>\n",
       "      <td>11</td>\n",
       "      <td>20</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>663</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>--12-02</td>\n",
       "      <td>--01-02</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Colette Brull-Ulmann / Mlle Colette Brull</td>\n",
       "      <td>Brull-Ulmann, Colette</td>\n",
       "      <td>20.0</td>\n",
       "      <td>50.0</td>\n",
       "      <td>1 month</td>\n",
       "      <td>31.0</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/f1...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>12</td>\n",
       "      <td>02</td>\n",
       "      <td>01</td>\n",
       "      <td>02</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>664</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--12-02</td>\n",
       "      <td>--12-06</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Colette Brull-Ulmann / Mlle Colette Brull</td>\n",
       "      <td>Brull-Ulmann, Colette</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/f1...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>12</td>\n",
       "      <td>02</td>\n",
       "      <td>12</td>\n",
       "      <td>06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>665</th>\n",
       "      <td>Crossed out</td>\n",
       "      <td>--12-03</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Denise Ulmann</td>\n",
       "      <td>Ulmann, Denise</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/86...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>12</td>\n",
       "      <td>03</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>666</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--12-06</td>\n",
       "      <td>--12-10</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Colette Brull-Ulmann / Mlle Colette Brull</td>\n",
       "      <td>Brull-Ulmann, Colette</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/f1...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>12</td>\n",
       "      <td>06</td>\n",
       "      <td>12</td>\n",
       "      <td>10</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>667</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--12-10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Colette Brull-Ulmann / Mlle Colette Brull</td>\n",
       "      <td>Brull-Ulmann, Colette</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/f1...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>12</td>\n",
       "      <td>10</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>668</th>\n",
       "      <td>Borrow</td>\n",
       "      <td>--12-28</td>\n",
       "      <td>--01-07</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>G. E. Pulsford</td>\n",
       "      <td>Pulsford, G. E.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/17...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>12</td>\n",
       "      <td>28</td>\n",
       "      <td>01</td>\n",
       "      <td>07</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>669</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>--12-28</td>\n",
       "      <td>--01-28</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>G. E. Pulsford</td>\n",
       "      <td>Pulsford, G. E.</td>\n",
       "      <td>6.4</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1 month</td>\n",
       "      <td>31.0</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/17...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1</td>\n",
       "      <td>12</td>\n",
       "      <td>28</td>\n",
       "      <td>01</td>\n",
       "      <td>28</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>670</th>\n",
       "      <td>Crossed out</td>\n",
       "      <td>--12-31</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>E. Lacroix / Mme Pierre Lacroix</td>\n",
       "      <td>Lacroix, E.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/e2%2F8...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>12</td>\n",
       "      <td>31</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>55 rows × 36 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "        event_type start_date end_date  \\\n",
       "616         Borrow        NaN  --02-01   \n",
       "617         Borrow    --02-04  --02-11   \n",
       "618    Crossed out    --02-10      NaN   \n",
       "619         Borrow    --02-11  --02-18   \n",
       "620         Borrow    --02-18  --02-28   \n",
       "621        Generic    --02-28      NaN   \n",
       "622        Generic    --02-28      NaN   \n",
       "623        Generic    --02-28      NaN   \n",
       "624        Generic    --02-28      NaN   \n",
       "625        Generic    --02-28      NaN   \n",
       "626         Borrow    --03-13  --04-27   \n",
       "627         Borrow    --03-30  --04-06   \n",
       "628         Borrow    --04-13      NaN   \n",
       "629         Borrow    --04-20  --04-23   \n",
       "630         Borrow    --05-07  --05-23   \n",
       "631         Borrow    --05-14  --05-23   \n",
       "632         Borrow    --06-07  --06-06   \n",
       "633         Borrow    --06-23  --06-30   \n",
       "634         Borrow    --06-27      NaN   \n",
       "635         Borrow    --06-27      NaN   \n",
       "636         Borrow    --06-27      NaN   \n",
       "637        Generic    --07-01      NaN   \n",
       "638    Crossed out    --08-21      NaN   \n",
       "639         Borrow    --10-06  --10-13   \n",
       "640         Borrow    --10-06  --10-07   \n",
       "641   Subscription    --10-06  --11-06   \n",
       "642   Subscription    --10-06  --10-13   \n",
       "643         Borrow    --10-07  --10-10   \n",
       "644         Borrow    --10-10  --10-11   \n",
       "645         Borrow    --10-11      NaN   \n",
       "646         Borrow    --10-11      NaN   \n",
       "647         Borrow    --10-11      NaN   \n",
       "648         Borrow    --10-12  --10-13   \n",
       "649         Borrow    --10-13  --10-18   \n",
       "650         Borrow    --10-13      NaN   \n",
       "651         Borrow    --10-15      NaN   \n",
       "652         Borrow    --10-15      NaN   \n",
       "653         Borrow    --10-18  --10-27   \n",
       "654         Borrow    --10-27  --11-02   \n",
       "655    Crossed out    --10-29      NaN   \n",
       "656    Crossed out    --10-30      NaN   \n",
       "657    Crossed out    --11-05      NaN   \n",
       "658         Borrow    --11-14      NaN   \n",
       "659         Borrow    --11-18  --11-20   \n",
       "660   Subscription    --11-18      NaN   \n",
       "661       Purchase    --11-20  --11-20   \n",
       "662  Reimbursement    --11-20  --11-20   \n",
       "663   Subscription    --12-02  --01-02   \n",
       "664         Borrow    --12-02  --12-06   \n",
       "665    Crossed out    --12-03      NaN   \n",
       "666         Borrow    --12-06  --12-10   \n",
       "667         Borrow    --12-10      NaN   \n",
       "668         Borrow    --12-28  --01-07   \n",
       "669   Subscription    --12-28  --01-28   \n",
       "670    Crossed out    --12-31      NaN   \n",
       "\n",
       "                                           member_uris  \\\n",
       "616  https://shakespeareandco.princeton.edu/members...   \n",
       "617  https://shakespeareandco.princeton.edu/members...   \n",
       "618  https://shakespeareandco.princeton.edu/members...   \n",
       "619  https://shakespeareandco.princeton.edu/members...   \n",
       "620  https://shakespeareandco.princeton.edu/members...   \n",
       "621  https://shakespeareandco.princeton.edu/members...   \n",
       "622  https://shakespeareandco.princeton.edu/members...   \n",
       "623  https://shakespeareandco.princeton.edu/members...   \n",
       "624  https://shakespeareandco.princeton.edu/members...   \n",
       "625  https://shakespeareandco.princeton.edu/members...   \n",
       "626  https://shakespeareandco.princeton.edu/members...   \n",
       "627  https://shakespeareandco.princeton.edu/members...   \n",
       "628  https://shakespeareandco.princeton.edu/members...   \n",
       "629  https://shakespeareandco.princeton.edu/members...   \n",
       "630  https://shakespeareandco.princeton.edu/members...   \n",
       "631  https://shakespeareandco.princeton.edu/members...   \n",
       "632  https://shakespeareandco.princeton.edu/members...   \n",
       "633  https://shakespeareandco.princeton.edu/members...   \n",
       "634  https://shakespeareandco.princeton.edu/members...   \n",
       "635  https://shakespeareandco.princeton.edu/members...   \n",
       "636  https://shakespeareandco.princeton.edu/members...   \n",
       "637  https://shakespeareandco.princeton.edu/members...   \n",
       "638  https://shakespeareandco.princeton.edu/members...   \n",
       "639  https://shakespeareandco.princeton.edu/members...   \n",
       "640  https://shakespeareandco.princeton.edu/members...   \n",
       "641  https://shakespeareandco.princeton.edu/members...   \n",
       "642  https://shakespeareandco.princeton.edu/members...   \n",
       "643  https://shakespeareandco.princeton.edu/members...   \n",
       "644  https://shakespeareandco.princeton.edu/members...   \n",
       "645  https://shakespeareandco.princeton.edu/members...   \n",
       "646  https://shakespeareandco.princeton.edu/members...   \n",
       "647  https://shakespeareandco.princeton.edu/members...   \n",
       "648  https://shakespeareandco.princeton.edu/members...   \n",
       "649  https://shakespeareandco.princeton.edu/members...   \n",
       "650  https://shakespeareandco.princeton.edu/members...   \n",
       "651  https://shakespeareandco.princeton.edu/members...   \n",
       "652  https://shakespeareandco.princeton.edu/members...   \n",
       "653  https://shakespeareandco.princeton.edu/members...   \n",
       "654  https://shakespeareandco.princeton.edu/members...   \n",
       "655  https://shakespeareandco.princeton.edu/members...   \n",
       "656  https://shakespeareandco.princeton.edu/members...   \n",
       "657  https://shakespeareandco.princeton.edu/members...   \n",
       "658  https://shakespeareandco.princeton.edu/members...   \n",
       "659  https://shakespeareandco.princeton.edu/members...   \n",
       "660  https://shakespeareandco.princeton.edu/members...   \n",
       "661  https://shakespeareandco.princeton.edu/members...   \n",
       "662  https://shakespeareandco.princeton.edu/members...   \n",
       "663  https://shakespeareandco.princeton.edu/members...   \n",
       "664  https://shakespeareandco.princeton.edu/members...   \n",
       "665  https://shakespeareandco.princeton.edu/members...   \n",
       "666  https://shakespeareandco.princeton.edu/members...   \n",
       "667  https://shakespeareandco.princeton.edu/members...   \n",
       "668  https://shakespeareandco.princeton.edu/members...   \n",
       "669  https://shakespeareandco.princeton.edu/members...   \n",
       "670  https://shakespeareandco.princeton.edu/members...   \n",
       "\n",
       "                                          member_names  \\\n",
       "616                                        James Joyce   \n",
       "617                                     G. E. Pulsford   \n",
       "618                                         Mr. Morgan   \n",
       "619                                     G. E. Pulsford   \n",
       "620                                     G. E. Pulsford   \n",
       "621                                       Pierre Denis   \n",
       "622                                       Pierre Denis   \n",
       "623                                       Pierre Denis   \n",
       "624                                       Pierre Denis   \n",
       "625                                       Pierre Denis   \n",
       "626                                       M. Fournerey   \n",
       "627                                        Mrs. Visser   \n",
       "628                                          Leo Stein   \n",
       "629                                     Robert McAlmon   \n",
       "630                                     Bernard Hommel   \n",
       "631                                     Bernard Hommel   \n",
       "632                                       Yvonne Davet   \n",
       "633                                        Marthe Lamy   \n",
       "634                                       Julia Wright   \n",
       "635                                       Julia Wright   \n",
       "636                                       Julia Wright   \n",
       "637                                   James S. Sheldon   \n",
       "638  Holly (Beach) Dennis / Miss Holly Beach / Mrs....   \n",
       "639                              Mrs. Thomas J. Felder   \n",
       "640                                       Romer Wilson   \n",
       "641                              Mrs. Thomas J. Felder   \n",
       "642                                       Romer Wilson   \n",
       "643                                       Romer Wilson   \n",
       "644                                       Romer Wilson   \n",
       "645                                       Louis Aragon   \n",
       "646                                       Louis Aragon   \n",
       "647                                       Romer Wilson   \n",
       "648                                       Romer Wilson   \n",
       "649                              Mrs. Thomas J. Felder   \n",
       "650                                       Romer Wilson   \n",
       "651                                       Romer Wilson   \n",
       "652                                       Romer Wilson   \n",
       "653                              Mrs. Thomas J. Felder   \n",
       "654                              Mrs. Thomas J. Felder   \n",
       "655                                   William van Wyck   \n",
       "656                                   William van Wyck   \n",
       "657                                          E. Harden   \n",
       "658                                      Marjorie Reid   \n",
       "659                                        Mrs. Visser   \n",
       "660                                        Mrs. Visser   \n",
       "661                                        Mrs. Visser   \n",
       "662                                        Mrs. Visser   \n",
       "663          Colette Brull-Ulmann / Mlle Colette Brull   \n",
       "664          Colette Brull-Ulmann / Mlle Colette Brull   \n",
       "665                                      Denise Ulmann   \n",
       "666          Colette Brull-Ulmann / Mlle Colette Brull   \n",
       "667          Colette Brull-Ulmann / Mlle Colette Brull   \n",
       "668                                     G. E. Pulsford   \n",
       "669                                     G. E. Pulsford   \n",
       "670                    E. Lacroix / Mme Pierre Lacroix   \n",
       "\n",
       "          member_sort_names  subscription_price_paid  subscription_deposit  \\\n",
       "616            Joyce, James                      NaN                   NaN   \n",
       "617         Pulsford, G. E.                      NaN                   NaN   \n",
       "618             Morgan, Mr.                      NaN                   NaN   \n",
       "619         Pulsford, G. E.                      NaN                   NaN   \n",
       "620         Pulsford, G. E.                      NaN                   NaN   \n",
       "621           Denis, Pierre                      NaN                   NaN   \n",
       "622           Denis, Pierre                      NaN                   NaN   \n",
       "623           Denis, Pierre                      NaN                   NaN   \n",
       "624           Denis, Pierre                      NaN                   NaN   \n",
       "625           Denis, Pierre                      NaN                   NaN   \n",
       "626           Fournerey, M.                      NaN                   NaN   \n",
       "627            Visser, Mrs.                      NaN                   NaN   \n",
       "628              Stein, Leo                      NaN                   NaN   \n",
       "629         McAlmon, Robert                      NaN                   NaN   \n",
       "630         Hommel, Bernard                      NaN                   NaN   \n",
       "631         Hommel, Bernard                      NaN                   NaN   \n",
       "632           Davet, Yvonne                      NaN                   NaN   \n",
       "633            Lamy, Marthe                      NaN                   NaN   \n",
       "634           Wright, Julia                      NaN                   NaN   \n",
       "635           Wright, Julia                      NaN                   NaN   \n",
       "636           Wright, Julia                      NaN                   NaN   \n",
       "637       Sheldon, James S.                      NaN                   NaN   \n",
       "638           Dennis, Holly                      NaN                   NaN   \n",
       "639  Felder, Mrs. Thomas J.                      NaN                   NaN   \n",
       "640           Wilson, Romer                      NaN                   NaN   \n",
       "641  Felder, Mrs. Thomas J.                     35.0                  30.0   \n",
       "642           Wilson, Romer                      2.0                   NaN   \n",
       "643           Wilson, Romer                      NaN                   NaN   \n",
       "644           Wilson, Romer                      NaN                   NaN   \n",
       "645           Aragon, Louis                      NaN                   NaN   \n",
       "646           Aragon, Louis                      NaN                   NaN   \n",
       "647           Wilson, Romer                      NaN                   NaN   \n",
       "648           Wilson, Romer                      NaN                   NaN   \n",
       "649  Felder, Mrs. Thomas J.                      NaN                   NaN   \n",
       "650           Wilson, Romer                      NaN                   NaN   \n",
       "651           Wilson, Romer                      NaN                   NaN   \n",
       "652           Wilson, Romer                      NaN                   NaN   \n",
       "653  Felder, Mrs. Thomas J.                      NaN                   NaN   \n",
       "654  Felder, Mrs. Thomas J.                      NaN                   NaN   \n",
       "655       van Wyck, William                      NaN                   NaN   \n",
       "656       van Wyck, William                      NaN                   NaN   \n",
       "657              Harden, E.                      NaN                   NaN   \n",
       "658          Reid, Marjorie                      NaN                   NaN   \n",
       "659            Visser, Mrs.                      NaN                   NaN   \n",
       "660            Visser, Mrs.                      2.0                 100.0   \n",
       "661            Visser, Mrs.                      NaN                   NaN   \n",
       "662            Visser, Mrs.                      NaN                   NaN   \n",
       "663   Brull-Ulmann, Colette                     20.0                  50.0   \n",
       "664   Brull-Ulmann, Colette                      NaN                   NaN   \n",
       "665          Ulmann, Denise                      NaN                   NaN   \n",
       "666   Brull-Ulmann, Colette                      NaN                   NaN   \n",
       "667   Brull-Ulmann, Colette                      NaN                   NaN   \n",
       "668         Pulsford, G. E.                      NaN                   NaN   \n",
       "669         Pulsford, G. E.                      6.4                   NaN   \n",
       "670             Lacroix, E.                      NaN                   NaN   \n",
       "\n",
       "    subscription_duration  subscription_duration_days  ...  \\\n",
       "616                   NaN                         NaN  ...   \n",
       "617                   NaN                         NaN  ...   \n",
       "618                   NaN                         NaN  ...   \n",
       "619                   NaN                         NaN  ...   \n",
       "620                   NaN                         NaN  ...   \n",
       "621                   NaN                         NaN  ...   \n",
       "622                   NaN                         NaN  ...   \n",
       "623                   NaN                         NaN  ...   \n",
       "624                   NaN                         NaN  ...   \n",
       "625                   NaN                         NaN  ...   \n",
       "626                   NaN                         NaN  ...   \n",
       "627                   NaN                         NaN  ...   \n",
       "628                   NaN                         NaN  ...   \n",
       "629                   NaN                         NaN  ...   \n",
       "630                   NaN                         NaN  ...   \n",
       "631                   NaN                         NaN  ...   \n",
       "632                   NaN                         NaN  ...   \n",
       "633                   NaN                         NaN  ...   \n",
       "634                   NaN                         NaN  ...   \n",
       "635                   NaN                         NaN  ...   \n",
       "636                   NaN                         NaN  ...   \n",
       "637                   NaN                         NaN  ...   \n",
       "638                   NaN                         NaN  ...   \n",
       "639                   NaN                         NaN  ...   \n",
       "640                   NaN                         NaN  ...   \n",
       "641               1 month                        31.0  ...   \n",
       "642                1 week                         7.0  ...   \n",
       "643                   NaN                         NaN  ...   \n",
       "644                   NaN                         NaN  ...   \n",
       "645                   NaN                         NaN  ...   \n",
       "646                   NaN                         NaN  ...   \n",
       "647                   NaN                         NaN  ...   \n",
       "648                   NaN                         NaN  ...   \n",
       "649                   NaN                         NaN  ...   \n",
       "650                   NaN                         NaN  ...   \n",
       "651                   NaN                         NaN  ...   \n",
       "652                   NaN                         NaN  ...   \n",
       "653                   NaN                         NaN  ...   \n",
       "654                   NaN                         NaN  ...   \n",
       "655                   NaN                         NaN  ...   \n",
       "656                   NaN                         NaN  ...   \n",
       "657                   NaN                         NaN  ...   \n",
       "658                   NaN                         NaN  ...   \n",
       "659                   NaN                         NaN  ...   \n",
       "660                   NaN                         NaN  ...   \n",
       "661                   NaN                         NaN  ...   \n",
       "662                   NaN                         NaN  ...   \n",
       "663               1 month                        31.0  ...   \n",
       "664                   NaN                         NaN  ...   \n",
       "665                   NaN                         NaN  ...   \n",
       "666                   NaN                         NaN  ...   \n",
       "667                   NaN                         NaN  ...   \n",
       "668                   NaN                         NaN  ...   \n",
       "669               1 month                        31.0  ...   \n",
       "670                   NaN                         NaN  ...   \n",
       "\n",
       "                                       source_manifest  \\\n",
       "616                                                NaN   \n",
       "617  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "618  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "619  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "620  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "621  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "622  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "623  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "624  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "625  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "626  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "627  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "628  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "629  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "630  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "631  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "632  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "633  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "634  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "635  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "636  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "637  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "638  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "639  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "640  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "641  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "642  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "643  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "644  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "645  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "646  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "647  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "648  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "649  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "650  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "651  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "652  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "653  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "654  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "655  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "656  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "657  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "658  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "659  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "660  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "661  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "662  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "663  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "664  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "665  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "666  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "667  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "668  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "669  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "670  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "\n",
       "                                          source_image start_year  end_year  \\\n",
       "616                                                NaN        NaN       NaN   \n",
       "617  https://iiif.princeton.edu/loris/figgy_prod/17...        NaN       NaN   \n",
       "618  https://iiif-cloud.princeton.edu/iiif/2/cc%2Ff...        NaN       NaN   \n",
       "619  https://iiif.princeton.edu/loris/figgy_prod/17...        NaN       NaN   \n",
       "620  https://iiif.princeton.edu/loris/figgy_prod/17...        NaN       NaN   \n",
       "621  https://iiif.princeton.edu/loris/figgy_prod/b2...        NaN       NaN   \n",
       "622  https://iiif.princeton.edu/loris/figgy_prod/b2...        NaN       NaN   \n",
       "623  https://iiif.princeton.edu/loris/figgy_prod/b2...        NaN       NaN   \n",
       "624  https://iiif.princeton.edu/loris/figgy_prod/b2...        NaN       NaN   \n",
       "625  https://iiif.princeton.edu/loris/figgy_prod/b2...        NaN       NaN   \n",
       "626  https://iiif.princeton.edu/loris/figgy_prod/c7...        NaN       NaN   \n",
       "627  https://iiif.princeton.edu/loris/figgy_prod/b8...        NaN       NaN   \n",
       "628  https://iiif.princeton.edu/loris/figgy_prod/7a...        NaN       NaN   \n",
       "629  https://iiif-cloud.princeton.edu/iiif/2/9c%2Fd...        NaN       NaN   \n",
       "630  https://iiif.princeton.edu/loris/figgy_prod/41...        NaN       NaN   \n",
       "631  https://iiif.princeton.edu/loris/figgy_prod/41...        NaN       NaN   \n",
       "632  https://iiif.princeton.edu/loris/figgy_prod/8c...        NaN       NaN   \n",
       "633  https://iiif-cloud.princeton.edu/iiif/2/5b%2F5...        NaN       NaN   \n",
       "634  https://iiif.princeton.edu/loris/figgy_prod/a1...        NaN       NaN   \n",
       "635  https://iiif.princeton.edu/loris/figgy_prod/a1...        NaN       NaN   \n",
       "636  https://iiif.princeton.edu/loris/figgy_prod/a1...        NaN       NaN   \n",
       "637  https://iiif-cloud.princeton.edu/iiif/2/0c%2Ff...        NaN       NaN   \n",
       "638  https://iiif.princeton.edu/loris/figgy_prod/05...        NaN       NaN   \n",
       "639  https://iiif-cloud.princeton.edu/iiif/2/d8%2Fe...        NaN       NaN   \n",
       "640  https://iiif.princeton.edu/loris/figgy_prod/4c...        NaN       NaN   \n",
       "641  https://iiif-cloud.princeton.edu/iiif/2/d8%2Fe...        NaN       NaN   \n",
       "642  https://iiif.princeton.edu/loris/figgy_prod/4c...        NaN       NaN   \n",
       "643  https://iiif.princeton.edu/loris/figgy_prod/4c...        NaN       NaN   \n",
       "644  https://iiif.princeton.edu/loris/figgy_prod/4c...        NaN       NaN   \n",
       "645  https://iiif.princeton.edu/loris/figgy_prod/52...        NaN       NaN   \n",
       "646  https://iiif.princeton.edu/loris/figgy_prod/52...        NaN       NaN   \n",
       "647  https://iiif.princeton.edu/loris/figgy_prod/4c...        NaN       NaN   \n",
       "648  https://iiif.princeton.edu/loris/figgy_prod/4c...        NaN       NaN   \n",
       "649  https://iiif-cloud.princeton.edu/iiif/2/d8%2Fe...        NaN       NaN   \n",
       "650  https://iiif.princeton.edu/loris/figgy_prod/4c...        NaN       NaN   \n",
       "651  https://iiif.princeton.edu/loris/figgy_prod/4c...        NaN       NaN   \n",
       "652  https://iiif.princeton.edu/loris/figgy_prod/4c...        NaN       NaN   \n",
       "653  https://iiif-cloud.princeton.edu/iiif/2/d8%2Fe...        NaN       NaN   \n",
       "654  https://iiif-cloud.princeton.edu/iiif/2/d8%2Fe...        NaN       NaN   \n",
       "655  https://iiif.princeton.edu/loris/figgy_prod/a0...        NaN       NaN   \n",
       "656  https://iiif.princeton.edu/loris/figgy_prod/a0...        NaN       NaN   \n",
       "657  https://iiif.princeton.edu/loris/figgy_prod/0b...        NaN       NaN   \n",
       "658  https://iiif.princeton.edu/loris/figgy_prod/3d...        NaN       NaN   \n",
       "659  https://iiif.princeton.edu/loris/figgy_prod/b8...        NaN       NaN   \n",
       "660  https://iiif.princeton.edu/loris/figgy_prod/b8...        NaN       NaN   \n",
       "661  https://iiif.princeton.edu/loris/figgy_prod/b8...        NaN       NaN   \n",
       "662  https://iiif.princeton.edu/loris/figgy_prod/b8...        NaN       NaN   \n",
       "663  https://iiif.princeton.edu/loris/figgy_prod/f1...        NaN       NaN   \n",
       "664  https://iiif.princeton.edu/loris/figgy_prod/f1...        NaN       NaN   \n",
       "665  https://iiif.princeton.edu/loris/figgy_prod/86...        NaN       NaN   \n",
       "666  https://iiif.princeton.edu/loris/figgy_prod/f1...        NaN       NaN   \n",
       "667  https://iiif.princeton.edu/loris/figgy_prod/f1...        NaN       NaN   \n",
       "668  https://iiif.princeton.edu/loris/figgy_prod/17...        NaN       NaN   \n",
       "669  https://iiif.princeton.edu/loris/figgy_prod/17...        NaN       NaN   \n",
       "670  https://iiif-cloud.princeton.edu/iiif/2/e2%2F8...        NaN       NaN   \n",
       "\n",
       "    year  has_year  start_month start_day end_month end_day  \n",
       "616  NaN         1          NaN       NaN        02      01  \n",
       "617  NaN         1           02        04        02      11  \n",
       "618  NaN         0           02        10       NaN     NaN  \n",
       "619  NaN         1           02        11        02      18  \n",
       "620  NaN         1           02        18        02      28  \n",
       "621  NaN         0           02        28       NaN     NaN  \n",
       "622  NaN         0           02        28       NaN     NaN  \n",
       "623  NaN         0           02        28       NaN     NaN  \n",
       "624  NaN         0           02        28       NaN     NaN  \n",
       "625  NaN         0           02        28       NaN     NaN  \n",
       "626  NaN         1           03        13        04      27  \n",
       "627  NaN         1           03        30        04      06  \n",
       "628  NaN         0           04        13       NaN     NaN  \n",
       "629  NaN         1           04        20        04      23  \n",
       "630  NaN         1           05        07        05      23  \n",
       "631  NaN         1           05        14        05      23  \n",
       "632  NaN         1           06        07        06      06  \n",
       "633  NaN         1           06        23        06      30  \n",
       "634  NaN         0           06        27       NaN     NaN  \n",
       "635  NaN         0           06        27       NaN     NaN  \n",
       "636  NaN         0           06        27       NaN     NaN  \n",
       "637  NaN         0           07        01       NaN     NaN  \n",
       "638  NaN         0           08        21       NaN     NaN  \n",
       "639  NaN         1           10        06        10      13  \n",
       "640  NaN         1           10        06        10      07  \n",
       "641  NaN         1           10        06        11      06  \n",
       "642  NaN         1           10        06        10      13  \n",
       "643  NaN         1           10        07        10      10  \n",
       "644  NaN         1           10        10        10      11  \n",
       "645  NaN         0           10        11       NaN     NaN  \n",
       "646  NaN         0           10        11       NaN     NaN  \n",
       "647  NaN         0           10        11       NaN     NaN  \n",
       "648  NaN         1           10        12        10      13  \n",
       "649  NaN         1           10        13        10      18  \n",
       "650  NaN         0           10        13       NaN     NaN  \n",
       "651  NaN         0           10        15       NaN     NaN  \n",
       "652  NaN         0           10        15       NaN     NaN  \n",
       "653  NaN         1           10        18        10      27  \n",
       "654  NaN         1           10        27        11      02  \n",
       "655  NaN         0           10        29       NaN     NaN  \n",
       "656  NaN         0           10        30       NaN     NaN  \n",
       "657  NaN         0           11        05       NaN     NaN  \n",
       "658  NaN         0           11        14       NaN     NaN  \n",
       "659  NaN         1           11        18        11      20  \n",
       "660  NaN         0           11        18       NaN     NaN  \n",
       "661  NaN         1           11        20        11      20  \n",
       "662  NaN         1           11        20        11      20  \n",
       "663  NaN         1           12        02        01      02  \n",
       "664  NaN         1           12        02        12      06  \n",
       "665  NaN         0           12        03       NaN     NaN  \n",
       "666  NaN         1           12        06        12      10  \n",
       "667  NaN         0           12        10       NaN     NaN  \n",
       "668  NaN         1           12        28        01      07  \n",
       "669  NaN         1           12        28        01      28  \n",
       "670  NaN         0           12        31       NaN     NaN  \n",
       "\n",
       "[55 rows x 36 columns]"
      ]
     },
     "execution_count": 60,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# remove all events with no start or end date\n",
    "monthday_only = event_dates[~(event_dates.start_date.isnull() & event_dates.end_date.isnull())]\n",
    "# remove year unknown\n",
    "monthday_only = monthday_only[monthday_only.start_year.isnull() & monthday_only.end_year.isnull()]\n",
    "# require either month known\n",
    "monthday_only = monthday_only[~monthday_only.start_month.isnull() | ~monthday_only.end_month.isnull()]\n",
    "# require either day known\n",
    "monthday_only = monthday_only[~monthday_only.start_day.isnull() | ~monthday_only.end_day.isnull()]\n",
    "\n",
    "print('%d events with month/day only' % len(monthday_only))\n",
    "monthday_only"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "yWKV_sJt3AdT"
   },
   "source": [
    "### reimbursements unknown or partial"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 62,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 1000
    },
    "id": "HmNGxEmd3Cfp",
    "outputId": "8d7adaba-b705-48dc-afc1-85085b992549"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "282 with no date\n",
      "8 with partial date\n",
      "290 with partial or no date\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "      <th>has_year</th>\n",
       "      <th>start_month</th>\n",
       "      <th>start_day</th>\n",
       "      <th>end_month</th>\n",
       "      <th>end_day</th>\n",
       "      <th>has_date</th>\n",
       "      <th>partial_date</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>1930</td>\n",
       "      <td>1930</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>V. M. Jones</td>\n",
       "      <td>Jones, V. M.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1930</td>\n",
       "      <td>1930</td>\n",
       "      <td>1930</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>True</td>\n",
       "      <td>True</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>73</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>1932</td>\n",
       "      <td>1932</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Ruth Allen</td>\n",
       "      <td>Allen, Ruth</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1932</td>\n",
       "      <td>1932</td>\n",
       "      <td>1932</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>True</td>\n",
       "      <td>True</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>102</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>1932</td>\n",
       "      <td>1932</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Madeleine Collet</td>\n",
       "      <td>Collet, Madeleine</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1932</td>\n",
       "      <td>1932</td>\n",
       "      <td>1932</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>True</td>\n",
       "      <td>True</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>136</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>1934</td>\n",
       "      <td>1934</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Rollande Deshages</td>\n",
       "      <td>Deshages, Rollande</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1934</td>\n",
       "      <td>1934</td>\n",
       "      <td>1934</td>\n",
       "      <td>1</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>True</td>\n",
       "      <td>True</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>538</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>1937-01</td>\n",
       "      <td>1937-01</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Vanderpyl</td>\n",
       "      <td>Vanderpyl, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1937</td>\n",
       "      <td>1937</td>\n",
       "      <td>1937</td>\n",
       "      <td>1</td>\n",
       "      <td>01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>01</td>\n",
       "      <td>NaN</td>\n",
       "      <td>True</td>\n",
       "      <td>True</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35512</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. N. F. Connont</td>\n",
       "      <td>Connont, Mrs. N. F.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35517</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Austin Clarke</td>\n",
       "      <td>Clarke, Austin</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35518</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Henri Gutmann</td>\n",
       "      <td>Gutmann, Henri</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35520</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Baldwin</td>\n",
       "      <td>Baldwin, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35522</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>M. A. Davies</td>\n",
       "      <td>Davies, M. A.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>False</td>\n",
       "      <td>False</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>290 rows × 38 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "          event_type start_date end_date  \\\n",
       "43     Reimbursement       1930     1930   \n",
       "73     Reimbursement       1932     1932   \n",
       "102    Reimbursement       1932     1932   \n",
       "136    Reimbursement       1934     1934   \n",
       "538    Reimbursement    1937-01  1937-01   \n",
       "...              ...        ...      ...   \n",
       "35512  Reimbursement        NaN      NaN   \n",
       "35517  Reimbursement        NaN      NaN   \n",
       "35518  Reimbursement        NaN      NaN   \n",
       "35520  Reimbursement        NaN      NaN   \n",
       "35522  Reimbursement        NaN      NaN   \n",
       "\n",
       "                                             member_uris        member_names  \\\n",
       "43     https://shakespeareandco.princeton.edu/members...         V. M. Jones   \n",
       "73     https://shakespeareandco.princeton.edu/members...          Ruth Allen   \n",
       "102    https://shakespeareandco.princeton.edu/members...    Madeleine Collet   \n",
       "136    https://shakespeareandco.princeton.edu/members...   Rollande Deshages   \n",
       "538    https://shakespeareandco.princeton.edu/members...       Mr. Vanderpyl   \n",
       "...                                                  ...                 ...   \n",
       "35512  https://shakespeareandco.princeton.edu/members...  Mrs. N. F. Connont   \n",
       "35517  https://shakespeareandco.princeton.edu/members...       Austin Clarke   \n",
       "35518  https://shakespeareandco.princeton.edu/members...       Henri Gutmann   \n",
       "35520  https://shakespeareandco.princeton.edu/members...         Mr. Baldwin   \n",
       "35522  https://shakespeareandco.princeton.edu/members...        M. A. Davies   \n",
       "\n",
       "         member_sort_names  subscription_price_paid  subscription_deposit  \\\n",
       "43            Jones, V. M.                      NaN                   NaN   \n",
       "73             Allen, Ruth                      NaN                   NaN   \n",
       "102      Collet, Madeleine                      NaN                   NaN   \n",
       "136     Deshages, Rollande                      NaN                   NaN   \n",
       "538         Vanderpyl, Mr.                      NaN                   NaN   \n",
       "...                    ...                      ...                   ...   \n",
       "35512  Connont, Mrs. N. F.                      NaN                   NaN   \n",
       "35517       Clarke, Austin                      NaN                   NaN   \n",
       "35518       Gutmann, Henri                      NaN                   NaN   \n",
       "35520         Baldwin, Mr.                      NaN                   NaN   \n",
       "35522        Davies, M. A.                      NaN                   NaN   \n",
       "\n",
       "      subscription_duration  subscription_duration_days  ...  start_year  \\\n",
       "43                      NaN                         NaN  ...        1930   \n",
       "73                      NaN                         NaN  ...        1932   \n",
       "102                     NaN                         NaN  ...        1932   \n",
       "136                     NaN                         NaN  ...        1934   \n",
       "538                     NaN                         NaN  ...        1937   \n",
       "...                     ...                         ...  ...         ...   \n",
       "35512                   NaN                         NaN  ...         NaN   \n",
       "35517                   NaN                         NaN  ...         NaN   \n",
       "35518                   NaN                         NaN  ...         NaN   \n",
       "35520                   NaN                         NaN  ...         NaN   \n",
       "35522                   NaN                         NaN  ...         NaN   \n",
       "\n",
       "      end_year  year  has_year start_month  start_day  end_month end_day  \\\n",
       "43        1930  1930         1         NaN        NaN        NaN     NaN   \n",
       "73        1932  1932         1         NaN        NaN        NaN     NaN   \n",
       "102       1932  1932         1         NaN        NaN        NaN     NaN   \n",
       "136       1934  1934         1         NaN        NaN        NaN     NaN   \n",
       "538       1937  1937         1          01        NaN         01     NaN   \n",
       "...        ...   ...       ...         ...        ...        ...     ...   \n",
       "35512      NaN   NaN         0         NaN        NaN        NaN     NaN   \n",
       "35517      NaN   NaN         0         NaN        NaN        NaN     NaN   \n",
       "35518      NaN   NaN         0         NaN        NaN        NaN     NaN   \n",
       "35520      NaN   NaN         0         NaN        NaN        NaN     NaN   \n",
       "35522      NaN   NaN         0         NaN        NaN        NaN     NaN   \n",
       "\n",
       "      has_date partial_date  \n",
       "43        True         True  \n",
       "73        True         True  \n",
       "102       True         True  \n",
       "136       True         True  \n",
       "538       True         True  \n",
       "...        ...          ...  \n",
       "35512    False        False  \n",
       "35517    False        False  \n",
       "35518    False        False  \n",
       "35520    False        False  \n",
       "35522    False        False  \n",
       "\n",
       "[290 rows x 38 columns]"
      ]
     },
     "execution_count": 62,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "reimbursements = event_dates[event_dates.event_type == 'Reimbursement'].copy()\n",
    "reimbursements\n",
    "\n",
    "reimbursements['has_date'] = reimbursements.apply(lambda x: True if (pd.notna(x.start_date) or pd.notna(x.end_date)) else False, axis=1)\n",
    "reimbursements['partial_date'] = reimbursements.start_date.apply(lambda x: True if pd.notna(x) and len(x) < 10  else False)\n",
    "\n",
    "print('%d with no date' % reimbursements[~reimbursements.has_date].shape[0])\n",
    "print('%d with partial date' % reimbursements[reimbursements.partial_date].shape[0])\n",
    "print('%d with partial or no date' % reimbursements[~reimbursements.has_date | reimbursements.partial_date].shape[0])\n",
    "\n",
    "reimbursements[~reimbursements.has_date | reimbursements.partial_date]\n",
    "\n",
    "# # reimbursements['partial_date'] = reimbursements[(reimbursements.start_year.isnull() & reimbursements.end_year.isnull()) | (reimbursements.start_month.isnull() & reimbursements.end_month.isnull()) | (reimbursements.start_day.isnull() & reimbursements.end_day.isnull()) ]\n",
    "\n",
    "# # nodate_reimbursements = reimbursements[(reimbursements.start_date.isnull() & reimbursements.end_date.isnull())]\n",
    "# # print(nodate_reimbursements.shape[0])\n",
    "# nodate_reimbursements.head()\n",
    "# nodate_reimbursements = event_dates[event_dates.start_date.isnull() & event_dates.end_date.isnull()]\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "MuLMCru23FSD"
   },
   "source": [
    "## borrow status"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 63,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 193
    },
    "id": "bFrSuljE2VLk",
    "outputId": "3f421cb2-aa87-4809-cb5c-7c43b6e13220"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "21,059 borrowing events\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>borrow_status</th>\n",
       "      <th>count</th>\n",
       "      <th>percent</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Returned</td>\n",
       "      <td>20429</td>\n",
       "      <td>97.01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Unknown</td>\n",
       "      <td>613</td>\n",
       "      <td>2.91</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Bought</td>\n",
       "      <td>13</td>\n",
       "      <td>0.06</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Missing</td>\n",
       "      <td>4</td>\n",
       "      <td>0.02</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  borrow_status  count  percent\n",
       "2      Returned  20429    97.01\n",
       "3       Unknown    613     2.91\n",
       "0        Bought     13     0.06\n",
       "1       Missing      4     0.02"
      ]
     },
     "execution_count": 63,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "borrows = events_df[events_df.event_type == 'Borrow']\n",
    "total_borrows = len(borrows)\n",
    "print('{:,} borrowing events'.format(total_borrows))\n",
    "borrow_status_totals = borrows.groupby([\"borrow_status\"]).size().reset_index(name='count').sort_values(['count'], ascending=False)\n",
    "borrow_status_totals['percent'] = borrow_status_totals['count'].apply(lambda x: (x / total_borrows) * 100)\n",
    "borrow_status_totals.percent = borrow_status_totals.percent.round(2)\n",
    "borrow_status_totals"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "8jqjyeDL5Azm"
   },
   "source": [
    "## purchase price known"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 64,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 967
    },
    "id": "h_CKQAR83VNm",
    "outputId": "fc8d4afa-8d0e-4d6c-d301-46d6db1ec698"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "818 total purchases\n",
      "72 purchases with no known price\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>item_year</th>\n",
       "      <th>item_notes</th>\n",
       "      <th>source_type</th>\n",
       "      <th>source_citation</th>\n",
       "      <th>source_manifest</th>\n",
       "      <th>source_image</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "      <th>has_year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>139</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>1936</td>\n",
       "      <td>1936</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Donald Culver</td>\n",
       "      <td>Culver, Donald</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Donald Culver Lending Library Ca...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/2b...</td>\n",
       "      <td>1936</td>\n",
       "      <td>1936</td>\n",
       "      <td>1936</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>142</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>1936</td>\n",
       "      <td>1936</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Donald Culver</td>\n",
       "      <td>Culver, Donald</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Donald Culver Lending Library Ca...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/2b...</td>\n",
       "      <td>1936</td>\n",
       "      <td>1936</td>\n",
       "      <td>1936</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>143</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>1936</td>\n",
       "      <td>1936</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Donald Culver</td>\n",
       "      <td>Culver, Donald</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Donald Culver Lending Library Ca...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/2b...</td>\n",
       "      <td>1936</td>\n",
       "      <td>1936</td>\n",
       "      <td>1936</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>572</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>1944-06</td>\n",
       "      <td>1944-06</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Hélène de Wendel / Comtesse de Noailles</td>\n",
       "      <td>de Wendel, Hélène</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1925.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Madame Hélène Wendel Lending Lib...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/0c%2F5...</td>\n",
       "      <td>1944</td>\n",
       "      <td>1944</td>\n",
       "      <td>1944</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>934</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>1920-06-03</td>\n",
       "      <td>1920-06-03</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Isabelle Zimmer</td>\n",
       "      <td>Zimmer, Isabelle</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1912.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Isabelle Zimmer Lending Library ...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/11...</td>\n",
       "      <td>1920</td>\n",
       "      <td>1920</td>\n",
       "      <td>1920</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25718</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>1939-07-24</td>\n",
       "      <td>1939-07-24</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Thornton Baker</td>\n",
       "      <td>Baker, Mrs. Thornton</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1939.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Mrs. Thornton Baker Lending Libr...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/98%2F5...</td>\n",
       "      <td>1939</td>\n",
       "      <td>1939</td>\n",
       "      <td>1939</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26000</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>1939-11-16</td>\n",
       "      <td>1939-11-16</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Jeanine (Delpech) Teissier</td>\n",
       "      <td>Teissier, Jeanine</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1939.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Teissier Lending Library Card, B...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/31...</td>\n",
       "      <td>1939</td>\n",
       "      <td>1939</td>\n",
       "      <td>1939</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27027</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>1940-04-26</td>\n",
       "      <td>1940-04-26</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Jeanine (Delpech) Teissier</td>\n",
       "      <td>Teissier, Jeanine</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1940.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Teissier Lending Library Card, B...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/a3...</td>\n",
       "      <td>1940</td>\n",
       "      <td>1940</td>\n",
       "      <td>1940</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35361</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme le Moal</td>\n",
       "      <td>Moal, Mme le</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1913.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card;Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Mrs le Moal Lending Library Card...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/af...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35425</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme le Moal</td>\n",
       "      <td>Moal, Mme le</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Unidentified edition or editions. Monique de V...</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Mrs le Moal Lending Library Card...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/af...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>72 rows × 32 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "      event_type  start_date    end_date  \\\n",
       "139     Purchase        1936        1936   \n",
       "142     Purchase        1936        1936   \n",
       "143     Purchase        1936        1936   \n",
       "572     Purchase     1944-06     1944-06   \n",
       "934     Purchase  1920-06-03  1920-06-03   \n",
       "...          ...         ...         ...   \n",
       "25718   Purchase  1939-07-24  1939-07-24   \n",
       "26000   Purchase  1939-11-16  1939-11-16   \n",
       "27027   Purchase  1940-04-26  1940-04-26   \n",
       "35361   Purchase         NaN         NaN   \n",
       "35425   Purchase         NaN         NaN   \n",
       "\n",
       "                                             member_uris  \\\n",
       "139    https://shakespeareandco.princeton.edu/members...   \n",
       "142    https://shakespeareandco.princeton.edu/members...   \n",
       "143    https://shakespeareandco.princeton.edu/members...   \n",
       "572    https://shakespeareandco.princeton.edu/members...   \n",
       "934    https://shakespeareandco.princeton.edu/members...   \n",
       "...                                                  ...   \n",
       "25718  https://shakespeareandco.princeton.edu/members...   \n",
       "26000  https://shakespeareandco.princeton.edu/members...   \n",
       "27027  https://shakespeareandco.princeton.edu/members...   \n",
       "35361  https://shakespeareandco.princeton.edu/members...   \n",
       "35425  https://shakespeareandco.princeton.edu/members...   \n",
       "\n",
       "                                  member_names     member_sort_names  \\\n",
       "139                              Donald Culver        Culver, Donald   \n",
       "142                              Donald Culver        Culver, Donald   \n",
       "143                              Donald Culver        Culver, Donald   \n",
       "572    Hélène de Wendel / Comtesse de Noailles     de Wendel, Hélène   \n",
       "934                            Isabelle Zimmer      Zimmer, Isabelle   \n",
       "...                                        ...                   ...   \n",
       "25718                      Mrs. Thornton Baker  Baker, Mrs. Thornton   \n",
       "26000               Jeanine (Delpech) Teissier     Teissier, Jeanine   \n",
       "27027               Jeanine (Delpech) Teissier     Teissier, Jeanine   \n",
       "35361                              Mme le Moal          Moal, Mme le   \n",
       "35425                              Mme le Moal          Moal, Mme le   \n",
       "\n",
       "       subscription_price_paid  subscription_deposit subscription_duration  \\\n",
       "139                        NaN                   NaN                   NaN   \n",
       "142                        NaN                   NaN                   NaN   \n",
       "143                        NaN                   NaN                   NaN   \n",
       "572                        NaN                   NaN                   NaN   \n",
       "934                        NaN                   NaN                   NaN   \n",
       "...                        ...                   ...                   ...   \n",
       "25718                      NaN                   NaN                   NaN   \n",
       "26000                      NaN                   NaN                   NaN   \n",
       "27027                      NaN                   NaN                   NaN   \n",
       "35361                      NaN                   NaN                   NaN   \n",
       "35425                      NaN                   NaN                   NaN   \n",
       "\n",
       "       subscription_duration_days  ...  item_year  \\\n",
       "139                           NaN  ...        NaN   \n",
       "142                           NaN  ...        NaN   \n",
       "143                           NaN  ...        NaN   \n",
       "572                           NaN  ...     1925.0   \n",
       "934                           NaN  ...     1912.0   \n",
       "...                           ...  ...        ...   \n",
       "25718                         NaN  ...     1939.0   \n",
       "26000                         NaN  ...     1939.0   \n",
       "27027                         NaN  ...     1940.0   \n",
       "35361                         NaN  ...     1913.0   \n",
       "35425                         NaN  ...        NaN   \n",
       "\n",
       "                                              item_notes  \\\n",
       "139                                                  NaN   \n",
       "142                                                  NaN   \n",
       "143                                                  NaN   \n",
       "572                                                  NaN   \n",
       "934                                                  NaN   \n",
       "...                                                  ...   \n",
       "25718                                                NaN   \n",
       "26000                                                NaN   \n",
       "27027                                                NaN   \n",
       "35361                                                NaN   \n",
       "35425  Unidentified edition or editions. Monique de V...   \n",
       "\n",
       "                                     source_type  \\\n",
       "139                         Lending Library Card   \n",
       "142                         Lending Library Card   \n",
       "143                         Lending Library Card   \n",
       "572                         Lending Library Card   \n",
       "934                         Lending Library Card   \n",
       "...                                          ...   \n",
       "25718                       Lending Library Card   \n",
       "26000                       Lending Library Card   \n",
       "27027                       Lending Library Card   \n",
       "35361  Lending Library Card;Lending Library Card   \n",
       "35425                       Lending Library Card   \n",
       "\n",
       "                                         source_citation  \\\n",
       "139    Sylvia Beach, Donald Culver Lending Library Ca...   \n",
       "142    Sylvia Beach, Donald Culver Lending Library Ca...   \n",
       "143    Sylvia Beach, Donald Culver Lending Library Ca...   \n",
       "572    Sylvia Beach, Madame Hélène Wendel Lending Lib...   \n",
       "934    Sylvia Beach, Isabelle Zimmer Lending Library ...   \n",
       "...                                                  ...   \n",
       "25718  Sylvia Beach, Mrs. Thornton Baker Lending Libr...   \n",
       "26000  Sylvia Beach, Teissier Lending Library Card, B...   \n",
       "27027  Sylvia Beach, Teissier Lending Library Card, B...   \n",
       "35361  Sylvia Beach, Mrs le Moal Lending Library Card...   \n",
       "35425  Sylvia Beach, Mrs le Moal Lending Library Card...   \n",
       "\n",
       "                                         source_manifest  \\\n",
       "139    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "142    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "143    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "572    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "934    https://figgy.princeton.edu/concern/scanned_re...   \n",
       "...                                                  ...   \n",
       "25718  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "26000  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "27027  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "35361  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "35425  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "\n",
       "                                            source_image  start_year end_year  \\\n",
       "139    https://iiif.princeton.edu/loris/figgy_prod/2b...        1936     1936   \n",
       "142    https://iiif.princeton.edu/loris/figgy_prod/2b...        1936     1936   \n",
       "143    https://iiif.princeton.edu/loris/figgy_prod/2b...        1936     1936   \n",
       "572    https://iiif-cloud.princeton.edu/iiif/2/0c%2F5...        1944     1944   \n",
       "934    https://iiif.princeton.edu/loris/figgy_prod/11...        1920     1920   \n",
       "...                                                  ...         ...      ...   \n",
       "25718  https://iiif-cloud.princeton.edu/iiif/2/98%2F5...        1939     1939   \n",
       "26000  https://iiif.princeton.edu/loris/figgy_prod/31...        1939     1939   \n",
       "27027  https://iiif.princeton.edu/loris/figgy_prod/a3...        1940     1940   \n",
       "35361  https://iiif.princeton.edu/loris/figgy_prod/af...        None     None   \n",
       "35425  https://iiif.princeton.edu/loris/figgy_prod/af...        None     None   \n",
       "\n",
       "       year has_year  \n",
       "139    1936        1  \n",
       "142    1936        1  \n",
       "143    1936        1  \n",
       "572    1944        1  \n",
       "934    1920        1  \n",
       "...     ...      ...  \n",
       "25718  1939        1  \n",
       "26000  1939        1  \n",
       "27027  1940        1  \n",
       "35361   NaN        0  \n",
       "35425   NaN        0  \n",
       "\n",
       "[72 rows x 32 columns]"
      ]
     },
     "execution_count": 64,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "purchases = events_df[events_df.event_type == 'Purchase']\n",
    "print('%d total purchases' % len(purchases))\n",
    "noprice_purchases = purchases[purchases['purchase_price'].isnull()]\n",
    "print('%d purchases with no known price' % len(noprice_purchases))\n",
    "noprice_purchases"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "_-Iu4fgvDv-K"
   },
   "source": [
    "## reimbursement refund amount known\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 65,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 1000
    },
    "id": "MNE4cTTZDzKM",
    "outputId": "e077e118-9d4c-402e-ef6a-54e20168b29f"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "3126 total reimbursements\n",
      "315 reimbursements with no known refund\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>item_year</th>\n",
       "      <th>item_notes</th>\n",
       "      <th>source_type</th>\n",
       "      <th>source_citation</th>\n",
       "      <th>source_manifest</th>\n",
       "      <th>source_image</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "      <th>has_year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>43</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>1930</td>\n",
       "      <td>1930</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>V. M. Jones</td>\n",
       "      <td>Jones, V. M.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1930</td>\n",
       "      <td>1930</td>\n",
       "      <td>1930</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>73</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>1932</td>\n",
       "      <td>1932</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Ruth Allen</td>\n",
       "      <td>Allen, Ruth</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1932</td>\n",
       "      <td>1932</td>\n",
       "      <td>1932</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>102</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>1932</td>\n",
       "      <td>1932</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Madeleine Collet</td>\n",
       "      <td>Collet, Madeleine</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1932</td>\n",
       "      <td>1932</td>\n",
       "      <td>1932</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>136</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>1934</td>\n",
       "      <td>1934</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Rollande Deshages</td>\n",
       "      <td>Deshages, Rollande</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1934</td>\n",
       "      <td>1934</td>\n",
       "      <td>1934</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>538</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>1937-01</td>\n",
       "      <td>1937-01</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Vanderpyl</td>\n",
       "      <td>Vanderpyl, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1935–1937, box 70, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1937</td>\n",
       "      <td>1937</td>\n",
       "      <td>1937</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35512</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. N. F. Connont</td>\n",
       "      <td>Connont, Mrs. N. F.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35517</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Austin Clarke</td>\n",
       "      <td>Clarke, Austin</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35518</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Henri Gutmann</td>\n",
       "      <td>Gutmann, Henri</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35520</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Baldwin</td>\n",
       "      <td>Baldwin, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35522</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>M. A. Davies</td>\n",
       "      <td>Davies, M. A.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>315 rows × 32 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "          event_type start_date end_date  \\\n",
       "43     Reimbursement       1930     1930   \n",
       "73     Reimbursement       1932     1932   \n",
       "102    Reimbursement       1932     1932   \n",
       "136    Reimbursement       1934     1934   \n",
       "538    Reimbursement    1937-01  1937-01   \n",
       "...              ...        ...      ...   \n",
       "35512  Reimbursement        NaN      NaN   \n",
       "35517  Reimbursement        NaN      NaN   \n",
       "35518  Reimbursement        NaN      NaN   \n",
       "35520  Reimbursement        NaN      NaN   \n",
       "35522  Reimbursement        NaN      NaN   \n",
       "\n",
       "                                             member_uris        member_names  \\\n",
       "43     https://shakespeareandco.princeton.edu/members...         V. M. Jones   \n",
       "73     https://shakespeareandco.princeton.edu/members...          Ruth Allen   \n",
       "102    https://shakespeareandco.princeton.edu/members...    Madeleine Collet   \n",
       "136    https://shakespeareandco.princeton.edu/members...   Rollande Deshages   \n",
       "538    https://shakespeareandco.princeton.edu/members...       Mr. Vanderpyl   \n",
       "...                                                  ...                 ...   \n",
       "35512  https://shakespeareandco.princeton.edu/members...  Mrs. N. F. Connont   \n",
       "35517  https://shakespeareandco.princeton.edu/members...       Austin Clarke   \n",
       "35518  https://shakespeareandco.princeton.edu/members...       Henri Gutmann   \n",
       "35520  https://shakespeareandco.princeton.edu/members...         Mr. Baldwin   \n",
       "35522  https://shakespeareandco.princeton.edu/members...        M. A. Davies   \n",
       "\n",
       "         member_sort_names  subscription_price_paid  subscription_deposit  \\\n",
       "43            Jones, V. M.                      NaN                   NaN   \n",
       "73             Allen, Ruth                      NaN                   NaN   \n",
       "102      Collet, Madeleine                      NaN                   NaN   \n",
       "136     Deshages, Rollande                      NaN                   NaN   \n",
       "538         Vanderpyl, Mr.                      NaN                   NaN   \n",
       "...                    ...                      ...                   ...   \n",
       "35512  Connont, Mrs. N. F.                      NaN                   NaN   \n",
       "35517       Clarke, Austin                      NaN                   NaN   \n",
       "35518       Gutmann, Henri                      NaN                   NaN   \n",
       "35520         Baldwin, Mr.                      NaN                   NaN   \n",
       "35522        Davies, M. A.                      NaN                   NaN   \n",
       "\n",
       "      subscription_duration  subscription_duration_days  ...  item_year  \\\n",
       "43                      NaN                         NaN  ...        NaN   \n",
       "73                      NaN                         NaN  ...        NaN   \n",
       "102                     NaN                         NaN  ...        NaN   \n",
       "136                     NaN                         NaN  ...        NaN   \n",
       "538                     NaN                         NaN  ...        NaN   \n",
       "...                     ...                         ...  ...        ...   \n",
       "35512                   NaN                         NaN  ...        NaN   \n",
       "35517                   NaN                         NaN  ...        NaN   \n",
       "35518                   NaN                         NaN  ...        NaN   \n",
       "35520                   NaN                         NaN  ...        NaN   \n",
       "35522                   NaN                         NaN  ...        NaN   \n",
       "\n",
       "      item_notes   source_type  \\\n",
       "43           NaN  Address Book   \n",
       "73           NaN  Address Book   \n",
       "102          NaN  Address Book   \n",
       "136          NaN  Address Book   \n",
       "538          NaN  Address Book   \n",
       "...          ...           ...   \n",
       "35512        NaN  Address Book   \n",
       "35517        NaN  Address Book   \n",
       "35518        NaN  Address Book   \n",
       "35520        NaN  Address Book   \n",
       "35522        NaN  Address Book   \n",
       "\n",
       "                                         source_citation source_manifest  \\\n",
       "43     Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "73     Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "102    Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "136    Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "538    Sylvia Beach, Address Book 1935–1937, box 70, ...             NaN   \n",
       "...                                                  ...             ...   \n",
       "35512  Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "35517  Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "35518  Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "35520  Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "35522  Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "\n",
       "       source_image  start_year end_year  year has_year  \n",
       "43              NaN        1930     1930  1930        1  \n",
       "73              NaN        1932     1932  1932        1  \n",
       "102             NaN        1932     1932  1932        1  \n",
       "136             NaN        1934     1934  1934        1  \n",
       "538             NaN        1937     1937  1937        1  \n",
       "...             ...         ...      ...   ...      ...  \n",
       "35512           NaN        None     None   NaN        0  \n",
       "35517           NaN        None     None   NaN        0  \n",
       "35518           NaN        None     None   NaN        0  \n",
       "35520           NaN        None     None   NaN        0  \n",
       "35522           NaN        None     None   NaN        0  \n",
       "\n",
       "[315 rows x 32 columns]"
      ]
     },
     "execution_count": 65,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "reimbursements = events_df[events_df.event_type == 'Reimbursement']\n",
    "print('%d total reimbursements' % len(reimbursements))\n",
    "noprice_reimbursements = reimbursements[reimbursements['reimbursement_refund'].isnull()]\n",
    "print('%d reimbursements with no known refund' % len(noprice_reimbursements))\n",
    "noprice_reimbursements"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "0zGrYK1b8hxT"
   },
   "source": [
    "## subscriptions with no volume"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 68,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 965
    },
    "id": "95qzr7TP8hDd",
    "outputId": "49c63033-7da2-4c9a-c97e-b73996480aa4"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>item_year</th>\n",
       "      <th>item_notes</th>\n",
       "      <th>source_type</th>\n",
       "      <th>source_citation</th>\n",
       "      <th>source_manifest</th>\n",
       "      <th>source_image</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "      <th>has_year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1921</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme Garreta</td>\n",
       "      <td>Garreta, Mme</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1921</td>\n",
       "      <td>None</td>\n",
       "      <td>1921</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Lincoln</td>\n",
       "      <td>Lincoln, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1922</td>\n",
       "      <td>None</td>\n",
       "      <td>1922</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>S. Q. Millward</td>\n",
       "      <td>Millward, S. Q.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Foulquier</td>\n",
       "      <td>Foulquier, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1923</td>\n",
       "      <td>None</td>\n",
       "      <td>1923</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Hefferson</td>\n",
       "      <td>Hefferson, Mrs.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1923</td>\n",
       "      <td>None</td>\n",
       "      <td>1923</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34808</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1940-04-20</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Loewy</td>\n",
       "      <td>Loewy</td>\n",
       "      <td>NaN</td>\n",
       "      <td>8.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1940</td>\n",
       "      <td>None</td>\n",
       "      <td>1940</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34828</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1940-05-21</td>\n",
       "      <td>1940-06-04</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Stamp</td>\n",
       "      <td>Stamp</td>\n",
       "      <td>25.0</td>\n",
       "      <td>50.0</td>\n",
       "      <td>2 weeks</td>\n",
       "      <td>14.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1940</td>\n",
       "      <td>1940</td>\n",
       "      <td>1940</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34850</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1940-09-03</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Maisonneuve</td>\n",
       "      <td>Maisonneuve</td>\n",
       "      <td>45.0</td>\n",
       "      <td>100.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1940</td>\n",
       "      <td>None</td>\n",
       "      <td>1940</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35048</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1941-06-14</td>\n",
       "      <td>1941-06-20</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Pereira</td>\n",
       "      <td>Pereira</td>\n",
       "      <td>50.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>6 days</td>\n",
       "      <td>6.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35337</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Ruth Allen</td>\n",
       "      <td>Allen, Ruth</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>697 rows × 32 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "         event_type  start_date    end_date  \\\n",
       "1      Subscription        1921         NaN   \n",
       "4      Subscription        1922         NaN   \n",
       "6      Subscription        1923        1923   \n",
       "7      Subscription        1923         NaN   \n",
       "9      Subscription        1923         NaN   \n",
       "...             ...         ...         ...   \n",
       "34808  Subscription  1940-04-20         NaN   \n",
       "34828  Subscription  1940-05-21  1940-06-04   \n",
       "34850  Subscription  1940-09-03         NaN   \n",
       "35048  Subscription  1941-06-14  1941-06-20   \n",
       "35337  Subscription         NaN         NaN   \n",
       "\n",
       "                                             member_uris    member_names  \\\n",
       "1      https://shakespeareandco.princeton.edu/members...     Mme Garreta   \n",
       "4      https://shakespeareandco.princeton.edu/members...     Mr. Lincoln   \n",
       "6      https://shakespeareandco.princeton.edu/members...  S. Q. Millward   \n",
       "7      https://shakespeareandco.princeton.edu/members...   Mr. Foulquier   \n",
       "9      https://shakespeareandco.princeton.edu/members...  Mrs. Hefferson   \n",
       "...                                                  ...             ...   \n",
       "34808  https://shakespeareandco.princeton.edu/members...           Loewy   \n",
       "34828  https://shakespeareandco.princeton.edu/members...           Stamp   \n",
       "34850  https://shakespeareandco.princeton.edu/members...     Maisonneuve   \n",
       "35048  https://shakespeareandco.princeton.edu/members...         Pereira   \n",
       "35337  https://shakespeareandco.princeton.edu/members...      Ruth Allen   \n",
       "\n",
       "      member_sort_names  subscription_price_paid  subscription_deposit  \\\n",
       "1          Garreta, Mme                      NaN                   NaN   \n",
       "4          Lincoln, Mr.                      NaN                   7.0   \n",
       "6       Millward, S. Q.                      NaN                   NaN   \n",
       "7        Foulquier, Mr.                      NaN                   NaN   \n",
       "9       Hefferson, Mrs.                      NaN                   NaN   \n",
       "...                 ...                      ...                   ...   \n",
       "34808             Loewy                      NaN                   8.0   \n",
       "34828             Stamp                     25.0                  50.0   \n",
       "34850       Maisonneuve                     45.0                 100.0   \n",
       "35048           Pereira                     50.0                   NaN   \n",
       "35337       Allen, Ruth                      NaN                   NaN   \n",
       "\n",
       "      subscription_duration  subscription_duration_days  ...  item_year  \\\n",
       "1                       NaN                         NaN  ...        NaN   \n",
       "4                       NaN                         NaN  ...        NaN   \n",
       "6                       NaN                         NaN  ...        NaN   \n",
       "7                       NaN                         NaN  ...        NaN   \n",
       "9                       NaN                         NaN  ...        NaN   \n",
       "...                     ...                         ...  ...        ...   \n",
       "34808                   NaN                         NaN  ...        NaN   \n",
       "34828               2 weeks                        14.0  ...        NaN   \n",
       "34850                   NaN                         NaN  ...        NaN   \n",
       "35048                6 days                         6.0  ...        NaN   \n",
       "35337                   NaN                         NaN  ...        NaN   \n",
       "\n",
       "      item_notes   source_type  \\\n",
       "1            NaN  Address Book   \n",
       "4            NaN  Address Book   \n",
       "6            NaN  Address Book   \n",
       "7            NaN  Address Book   \n",
       "9            NaN  Address Book   \n",
       "...          ...           ...   \n",
       "34808        NaN       Logbook   \n",
       "34828        NaN       Logbook   \n",
       "34850        NaN       Logbook   \n",
       "35048        NaN       Logbook   \n",
       "35337        NaN  Address Book   \n",
       "\n",
       "                                         source_citation source_manifest  \\\n",
       "1      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "4      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "6      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "7      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "9      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "...                                                  ...             ...   \n",
       "34808  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...             NaN   \n",
       "34828  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...             NaN   \n",
       "34850  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...             NaN   \n",
       "35048  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...             NaN   \n",
       "35337  Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "\n",
       "       source_image  start_year end_year  year has_year  \n",
       "1               NaN        1921     None  1921        1  \n",
       "4               NaN        1922     None  1922        1  \n",
       "6               NaN        1923     1923  1923        1  \n",
       "7               NaN        1923     None  1923        1  \n",
       "9               NaN        1923     None  1923        1  \n",
       "...             ...         ...      ...   ...      ...  \n",
       "34808           NaN        1940     None  1940        1  \n",
       "34828           NaN        1940     1940  1940        1  \n",
       "34850           NaN        1940     None  1940        1  \n",
       "35048           NaN        1941     1941  1941        1  \n",
       "35337           NaN        None     None   NaN        0  \n",
       "\n",
       "[697 rows x 32 columns]"
      ]
     },
     "execution_count": 68,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# only events labeled as subscriptions\n",
    "subs = events_df[events_df.event_type == 'Subscription']\n",
    "subs[subs.subscription_volumes.isna()]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 69,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 965
    },
    "id": "5faCghb19J3D",
    "outputId": "cbc28f08-6746-4f8b-f654-49605c9caaac"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>item_year</th>\n",
       "      <th>item_notes</th>\n",
       "      <th>source_type</th>\n",
       "      <th>source_citation</th>\n",
       "      <th>source_manifest</th>\n",
       "      <th>source_image</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "      <th>has_year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1921</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme Garreta</td>\n",
       "      <td>Garreta, Mme</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1921</td>\n",
       "      <td>None</td>\n",
       "      <td>1921</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Lincoln</td>\n",
       "      <td>Lincoln, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1922</td>\n",
       "      <td>None</td>\n",
       "      <td>1922</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>S. Q. Millward</td>\n",
       "      <td>Millward, S. Q.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Foulquier</td>\n",
       "      <td>Foulquier, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1923</td>\n",
       "      <td>None</td>\n",
       "      <td>1923</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Hefferson</td>\n",
       "      <td>Hefferson, Mrs.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1923</td>\n",
       "      <td>None</td>\n",
       "      <td>1923</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35064</th>\n",
       "      <td>Renewal</td>\n",
       "      <td>1941-07-10</td>\n",
       "      <td>1941-07-24</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Wagner</td>\n",
       "      <td>Wagner, Mr.</td>\n",
       "      <td>10.00</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2 weeks</td>\n",
       "      <td>14.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35075</th>\n",
       "      <td>Renewal</td>\n",
       "      <td>1941-08-01</td>\n",
       "      <td>1941-08-08</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Stark</td>\n",
       "      <td>Stark</td>\n",
       "      <td>6.25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1 week</td>\n",
       "      <td>7.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35078</th>\n",
       "      <td>Renewal</td>\n",
       "      <td>1941-08-01</td>\n",
       "      <td>1941-08-15</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Huret</td>\n",
       "      <td>Huret</td>\n",
       "      <td>20.00</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2 weeks</td>\n",
       "      <td>14.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35111</th>\n",
       "      <td>Renewal</td>\n",
       "      <td>1941-11-11</td>\n",
       "      <td>1941-11-25</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Accursi</td>\n",
       "      <td>Accursi</td>\n",
       "      <td>12.50</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2 weeks</td>\n",
       "      <td>14.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35337</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Ruth Allen</td>\n",
       "      <td>Allen, Ruth</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1035 rows × 32 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "         event_type  start_date    end_date  \\\n",
       "1      Subscription        1921         NaN   \n",
       "4      Subscription        1922         NaN   \n",
       "6      Subscription        1923        1923   \n",
       "7      Subscription        1923         NaN   \n",
       "9      Subscription        1923         NaN   \n",
       "...             ...         ...         ...   \n",
       "35064       Renewal  1941-07-10  1941-07-24   \n",
       "35075       Renewal  1941-08-01  1941-08-08   \n",
       "35078       Renewal  1941-08-01  1941-08-15   \n",
       "35111       Renewal  1941-11-11  1941-11-25   \n",
       "35337  Subscription         NaN         NaN   \n",
       "\n",
       "                                             member_uris    member_names  \\\n",
       "1      https://shakespeareandco.princeton.edu/members...     Mme Garreta   \n",
       "4      https://shakespeareandco.princeton.edu/members...     Mr. Lincoln   \n",
       "6      https://shakespeareandco.princeton.edu/members...  S. Q. Millward   \n",
       "7      https://shakespeareandco.princeton.edu/members...   Mr. Foulquier   \n",
       "9      https://shakespeareandco.princeton.edu/members...  Mrs. Hefferson   \n",
       "...                                                  ...             ...   \n",
       "35064  https://shakespeareandco.princeton.edu/members...      Mr. Wagner   \n",
       "35075  https://shakespeareandco.princeton.edu/members...           Stark   \n",
       "35078  https://shakespeareandco.princeton.edu/members...           Huret   \n",
       "35111  https://shakespeareandco.princeton.edu/members...         Accursi   \n",
       "35337  https://shakespeareandco.princeton.edu/members...      Ruth Allen   \n",
       "\n",
       "      member_sort_names  subscription_price_paid  subscription_deposit  \\\n",
       "1          Garreta, Mme                      NaN                   NaN   \n",
       "4          Lincoln, Mr.                      NaN                   7.0   \n",
       "6       Millward, S. Q.                      NaN                   NaN   \n",
       "7        Foulquier, Mr.                      NaN                   NaN   \n",
       "9       Hefferson, Mrs.                      NaN                   NaN   \n",
       "...                 ...                      ...                   ...   \n",
       "35064       Wagner, Mr.                    10.00                   NaN   \n",
       "35075             Stark                     6.25                   NaN   \n",
       "35078             Huret                    20.00                   NaN   \n",
       "35111           Accursi                    12.50                   NaN   \n",
       "35337       Allen, Ruth                      NaN                   NaN   \n",
       "\n",
       "      subscription_duration  subscription_duration_days  ...  item_year  \\\n",
       "1                       NaN                         NaN  ...        NaN   \n",
       "4                       NaN                         NaN  ...        NaN   \n",
       "6                       NaN                         NaN  ...        NaN   \n",
       "7                       NaN                         NaN  ...        NaN   \n",
       "9                       NaN                         NaN  ...        NaN   \n",
       "...                     ...                         ...  ...        ...   \n",
       "35064               2 weeks                        14.0  ...        NaN   \n",
       "35075                1 week                         7.0  ...        NaN   \n",
       "35078               2 weeks                        14.0  ...        NaN   \n",
       "35111               2 weeks                        14.0  ...        NaN   \n",
       "35337                   NaN                         NaN  ...        NaN   \n",
       "\n",
       "      item_notes   source_type  \\\n",
       "1            NaN  Address Book   \n",
       "4            NaN  Address Book   \n",
       "6            NaN  Address Book   \n",
       "7            NaN  Address Book   \n",
       "9            NaN  Address Book   \n",
       "...          ...           ...   \n",
       "35064        NaN       Logbook   \n",
       "35075        NaN       Logbook   \n",
       "35078        NaN       Logbook   \n",
       "35111        NaN       Logbook   \n",
       "35337        NaN  Address Book   \n",
       "\n",
       "                                         source_citation source_manifest  \\\n",
       "1      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "4      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "6      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "7      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "9      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "...                                                  ...             ...   \n",
       "35064  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...             NaN   \n",
       "35075  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...             NaN   \n",
       "35078  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...             NaN   \n",
       "35111  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...             NaN   \n",
       "35337  Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "\n",
       "       source_image  start_year end_year  year has_year  \n",
       "1               NaN        1921     None  1921        1  \n",
       "4               NaN        1922     None  1922        1  \n",
       "6               NaN        1923     1923  1923        1  \n",
       "7               NaN        1923     None  1923        1  \n",
       "9               NaN        1923     None  1923        1  \n",
       "...             ...         ...      ...   ...      ...  \n",
       "35064           NaN        1941     1941  1941        1  \n",
       "35075           NaN        1941     1941  1941        1  \n",
       "35078           NaN        1941     1941  1941        1  \n",
       "35111           NaN        1941     1941  1941        1  \n",
       "35337           NaN        None     None   NaN        0  \n",
       "\n",
       "[1035 rows x 32 columns]"
      ]
     },
     "execution_count": 69,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# subscriptions and renewals\n",
    "subsrenew = events_df[events_df.event_type.isin(['Subscription', 'Renewal'])]\n",
    "subsrenew[subsrenew.subscription_volumes.isna()]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 70,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 965
    },
    "id": "KMHiqPJU85gc",
    "outputId": "01b46f17-9893-4b46-f19e-a6cbae818f76"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>item_year</th>\n",
       "      <th>item_notes</th>\n",
       "      <th>source_type</th>\n",
       "      <th>source_citation</th>\n",
       "      <th>source_manifest</th>\n",
       "      <th>source_image</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "      <th>has_year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1921</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mme Garreta</td>\n",
       "      <td>Garreta, Mme</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1921</td>\n",
       "      <td>None</td>\n",
       "      <td>1921</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1922</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Lincoln</td>\n",
       "      <td>Lincoln, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>7.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1922</td>\n",
       "      <td>None</td>\n",
       "      <td>1922</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>S. Q. Millward</td>\n",
       "      <td>Millward, S. Q.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1923</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Foulquier</td>\n",
       "      <td>Foulquier, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1923</td>\n",
       "      <td>None</td>\n",
       "      <td>1923</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1923</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mrs. Hefferson</td>\n",
       "      <td>Hefferson, Mrs.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1923</td>\n",
       "      <td>None</td>\n",
       "      <td>1923</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35064</th>\n",
       "      <td>Renewal</td>\n",
       "      <td>1941-07-10</td>\n",
       "      <td>1941-07-24</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Mr. Wagner</td>\n",
       "      <td>Wagner, Mr.</td>\n",
       "      <td>10.00</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2 weeks</td>\n",
       "      <td>14.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35075</th>\n",
       "      <td>Renewal</td>\n",
       "      <td>1941-08-01</td>\n",
       "      <td>1941-08-08</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Stark</td>\n",
       "      <td>Stark</td>\n",
       "      <td>6.25</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1 week</td>\n",
       "      <td>7.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35078</th>\n",
       "      <td>Renewal</td>\n",
       "      <td>1941-08-01</td>\n",
       "      <td>1941-08-15</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Huret</td>\n",
       "      <td>Huret</td>\n",
       "      <td>20.00</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2 weeks</td>\n",
       "      <td>14.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35111</th>\n",
       "      <td>Renewal</td>\n",
       "      <td>1941-11-11</td>\n",
       "      <td>1941-11-25</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Accursi</td>\n",
       "      <td>Accursi</td>\n",
       "      <td>12.50</td>\n",
       "      <td>NaN</td>\n",
       "      <td>2 weeks</td>\n",
       "      <td>14.0</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1941</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35337</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Ruth Allen</td>\n",
       "      <td>Allen, Ruth</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Address Book</td>\n",
       "      <td>Sylvia Beach, Address Book 1919–1935, box 69, ...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>1083 rows × 32 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "         event_type  start_date    end_date  \\\n",
       "1      Subscription        1921         NaN   \n",
       "4      Subscription        1922         NaN   \n",
       "6      Subscription        1923        1923   \n",
       "7      Subscription        1923         NaN   \n",
       "9      Subscription        1923         NaN   \n",
       "...             ...         ...         ...   \n",
       "35064       Renewal  1941-07-10  1941-07-24   \n",
       "35075       Renewal  1941-08-01  1941-08-08   \n",
       "35078       Renewal  1941-08-01  1941-08-15   \n",
       "35111       Renewal  1941-11-11  1941-11-25   \n",
       "35337  Subscription         NaN         NaN   \n",
       "\n",
       "                                             member_uris    member_names  \\\n",
       "1      https://shakespeareandco.princeton.edu/members...     Mme Garreta   \n",
       "4      https://shakespeareandco.princeton.edu/members...     Mr. Lincoln   \n",
       "6      https://shakespeareandco.princeton.edu/members...  S. Q. Millward   \n",
       "7      https://shakespeareandco.princeton.edu/members...   Mr. Foulquier   \n",
       "9      https://shakespeareandco.princeton.edu/members...  Mrs. Hefferson   \n",
       "...                                                  ...             ...   \n",
       "35064  https://shakespeareandco.princeton.edu/members...      Mr. Wagner   \n",
       "35075  https://shakespeareandco.princeton.edu/members...           Stark   \n",
       "35078  https://shakespeareandco.princeton.edu/members...           Huret   \n",
       "35111  https://shakespeareandco.princeton.edu/members...         Accursi   \n",
       "35337  https://shakespeareandco.princeton.edu/members...      Ruth Allen   \n",
       "\n",
       "      member_sort_names  subscription_price_paid  subscription_deposit  \\\n",
       "1          Garreta, Mme                      NaN                   NaN   \n",
       "4          Lincoln, Mr.                      NaN                   7.0   \n",
       "6       Millward, S. Q.                      NaN                   NaN   \n",
       "7        Foulquier, Mr.                      NaN                   NaN   \n",
       "9       Hefferson, Mrs.                      NaN                   NaN   \n",
       "...                 ...                      ...                   ...   \n",
       "35064       Wagner, Mr.                    10.00                   NaN   \n",
       "35075             Stark                     6.25                   NaN   \n",
       "35078             Huret                    20.00                   NaN   \n",
       "35111           Accursi                    12.50                   NaN   \n",
       "35337       Allen, Ruth                      NaN                   NaN   \n",
       "\n",
       "      subscription_duration  subscription_duration_days  ...  item_year  \\\n",
       "1                       NaN                         NaN  ...        NaN   \n",
       "4                       NaN                         NaN  ...        NaN   \n",
       "6                       NaN                         NaN  ...        NaN   \n",
       "7                       NaN                         NaN  ...        NaN   \n",
       "9                       NaN                         NaN  ...        NaN   \n",
       "...                     ...                         ...  ...        ...   \n",
       "35064               2 weeks                        14.0  ...        NaN   \n",
       "35075                1 week                         7.0  ...        NaN   \n",
       "35078               2 weeks                        14.0  ...        NaN   \n",
       "35111               2 weeks                        14.0  ...        NaN   \n",
       "35337                   NaN                         NaN  ...        NaN   \n",
       "\n",
       "      item_notes   source_type  \\\n",
       "1            NaN  Address Book   \n",
       "4            NaN  Address Book   \n",
       "6            NaN  Address Book   \n",
       "7            NaN  Address Book   \n",
       "9            NaN  Address Book   \n",
       "...          ...           ...   \n",
       "35064        NaN       Logbook   \n",
       "35075        NaN       Logbook   \n",
       "35078        NaN       Logbook   \n",
       "35111        NaN       Logbook   \n",
       "35337        NaN  Address Book   \n",
       "\n",
       "                                         source_citation source_manifest  \\\n",
       "1      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "4      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "6      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "7      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "9      Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "...                                                  ...             ...   \n",
       "35064  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...             NaN   \n",
       "35075  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...             NaN   \n",
       "35078  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...             NaN   \n",
       "35111  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...             NaN   \n",
       "35337  Sylvia Beach, Address Book 1919–1935, box 69, ...             NaN   \n",
       "\n",
       "       source_image  start_year end_year  year has_year  \n",
       "1               NaN        1921     None  1921        1  \n",
       "4               NaN        1922     None  1922        1  \n",
       "6               NaN        1923     1923  1923        1  \n",
       "7               NaN        1923     None  1923        1  \n",
       "9               NaN        1923     None  1923        1  \n",
       "...             ...         ...      ...   ...      ...  \n",
       "35064           NaN        1941     1941  1941        1  \n",
       "35075           NaN        1941     1941  1941        1  \n",
       "35078           NaN        1941     1941  1941        1  \n",
       "35111           NaN        1941     1941  1941        1  \n",
       "35337           NaN        None     None   NaN        0  \n",
       "\n",
       "[1083 rows x 32 columns]"
      ]
     },
     "execution_count": 70,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# all subscription events that coud have subscription volumes\n",
    "allsubs = events_df[events_df.event_type.isin(['Subscription', 'Renewal', 'Supplement'])]\n",
    "allsubs[allsubs.subscription_volumes.isna()]"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "nwcoRCkp5zWJ"
   },
   "source": [
    "## currency"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 71,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 162
    },
    "id": "JwLNLBLM5EaL",
    "outputId": "2cfa1046-3f45-4e01-dcd9-28da2c92cd25"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "13,463 events with currency\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>currency</th>\n",
       "      <th>count</th>\n",
       "      <th>percent</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>FRF</td>\n",
       "      <td>13455</td>\n",
       "      <td>99.94</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>GBP</td>\n",
       "      <td>4</td>\n",
       "      <td>0.03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>USD</td>\n",
       "      <td>4</td>\n",
       "      <td>0.03</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "  currency  count  percent\n",
       "0      FRF  13455    99.94\n",
       "1      GBP      4     0.03\n",
       "2      USD      4     0.03"
      ]
     },
     "execution_count": 71,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "currency = events_df[~events_df.currency.isnull()]\n",
    "total_currency = len(currency)\n",
    "print('{:,} events with currency'.format(total_currency))\n",
    "currency_totals = currency.groupby([\"currency\"]).size().reset_index(name='count').sort_values(['count'], ascending=False)\n",
    "currency_totals['percent'] = currency_totals['count'].apply(lambda x: (x / total_currency) * 100)\n",
    "currency_totals.percent = currency_totals.percent.round(2)\n",
    "currency_totals"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 74,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>event_type</th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_names</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "      <th>subscription_duration</th>\n",
       "      <th>subscription_duration_days</th>\n",
       "      <th>...</th>\n",
       "      <th>item_year</th>\n",
       "      <th>item_notes</th>\n",
       "      <th>source_type</th>\n",
       "      <th>source_citation</th>\n",
       "      <th>source_manifest</th>\n",
       "      <th>source_image</th>\n",
       "      <th>start_year</th>\n",
       "      <th>end_year</th>\n",
       "      <th>year</th>\n",
       "      <th>has_year</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>17111</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1935-07-29</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Johnson</td>\n",
       "      <td>Johnson</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1935</td>\n",
       "      <td>None</td>\n",
       "      <td>1935</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17123</th>\n",
       "      <td>Subscription</td>\n",
       "      <td>1935-08-02</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Shrinkman</td>\n",
       "      <td>Shrinkman</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1935</td>\n",
       "      <td>None</td>\n",
       "      <td>1935</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17816</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>1935-12-23</td>\n",
       "      <td>1935-12-23</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Helen (Green) Baldwin / Mrs. James Mark Baldwin</td>\n",
       "      <td>Baldwin, Helen</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Unidentified. Either John Daniel Jones's *If a...</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Helen Baldwin Lending Library Ca...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/98...</td>\n",
       "      <td>1935</td>\n",
       "      <td>1935</td>\n",
       "      <td>1935</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22634</th>\n",
       "      <td>Periodical Subscription</td>\n",
       "      <td>1938-04-28</td>\n",
       "      <td>1938-04-28</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Jeanine (Delpech) Teissier</td>\n",
       "      <td>Teissier, Jeanine</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Teissier Lending Library Card, B...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif.princeton.edu/loris/figgy_prod/aa...</td>\n",
       "      <td>1938</td>\n",
       "      <td>1938</td>\n",
       "      <td>1938</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24521</th>\n",
       "      <td>Separate Payment</td>\n",
       "      <td>1939-03-08</td>\n",
       "      <td>1939-03-08</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Creswick</td>\n",
       "      <td>Creswick</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1939</td>\n",
       "      <td>1939</td>\n",
       "      <td>1939</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34196</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>1935-08-03</td>\n",
       "      <td>1935-08-03</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Shrinkman</td>\n",
       "      <td>Shrinkman</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1935</td>\n",
       "      <td>1935</td>\n",
       "      <td>1935</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>34197</th>\n",
       "      <td>Reimbursement</td>\n",
       "      <td>1935-08-03</td>\n",
       "      <td>1935-08-03</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Johnson</td>\n",
       "      <td>Johnson</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Logbook</td>\n",
       "      <td>Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>1935</td>\n",
       "      <td>1935</td>\n",
       "      <td>1935</td>\n",
       "      <td>1</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35420</th>\n",
       "      <td>Purchase</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Ernest Hemingway</td>\n",
       "      <td>Hemingway, Ernest</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>...</td>\n",
       "      <td>1929.0</td>\n",
       "      <td>NaN</td>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>Sylvia Beach, Ernest Hemingway Lending Library...</td>\n",
       "      <td>https://figgy.princeton.edu/concern/scanned_re...</td>\n",
       "      <td>https://iiif-cloud.princeton.edu/iiif/2/28%2Ff...</td>\n",
       "      <td>None</td>\n",
       "      <td>None</td>\n",
       "      <td>NaN</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>8 rows × 32 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                    event_type  start_date    end_date  \\\n",
       "17111             Subscription  1935-07-29         NaN   \n",
       "17123             Subscription  1935-08-02         NaN   \n",
       "17816                 Purchase  1935-12-23  1935-12-23   \n",
       "22634  Periodical Subscription  1938-04-28  1938-04-28   \n",
       "24521         Separate Payment  1939-03-08  1939-03-08   \n",
       "34196            Reimbursement  1935-08-03  1935-08-03   \n",
       "34197            Reimbursement  1935-08-03  1935-08-03   \n",
       "35420                 Purchase         NaN         NaN   \n",
       "\n",
       "                                             member_uris  \\\n",
       "17111  https://shakespeareandco.princeton.edu/members...   \n",
       "17123  https://shakespeareandco.princeton.edu/members...   \n",
       "17816  https://shakespeareandco.princeton.edu/members...   \n",
       "22634  https://shakespeareandco.princeton.edu/members...   \n",
       "24521  https://shakespeareandco.princeton.edu/members...   \n",
       "34196  https://shakespeareandco.princeton.edu/members...   \n",
       "34197  https://shakespeareandco.princeton.edu/members...   \n",
       "35420  https://shakespeareandco.princeton.edu/members...   \n",
       "\n",
       "                                          member_names  member_sort_names  \\\n",
       "17111                                          Johnson            Johnson   \n",
       "17123                                        Shrinkman          Shrinkman   \n",
       "17816  Helen (Green) Baldwin / Mrs. James Mark Baldwin     Baldwin, Helen   \n",
       "22634                       Jeanine (Delpech) Teissier  Teissier, Jeanine   \n",
       "24521                                         Creswick           Creswick   \n",
       "34196                                        Shrinkman          Shrinkman   \n",
       "34197                                          Johnson            Johnson   \n",
       "35420                                 Ernest Hemingway  Hemingway, Ernest   \n",
       "\n",
       "       subscription_price_paid  subscription_deposit subscription_duration  \\\n",
       "17111                      NaN                   1.0                   NaN   \n",
       "17123                      NaN                   1.0                   NaN   \n",
       "17816                      NaN                   NaN                   NaN   \n",
       "22634                      NaN                   NaN                   NaN   \n",
       "24521                      NaN                   5.0                   NaN   \n",
       "34196                      NaN                   NaN                   NaN   \n",
       "34197                      NaN                   NaN                   NaN   \n",
       "35420                      NaN                   NaN                   NaN   \n",
       "\n",
       "       subscription_duration_days  ...  item_year  \\\n",
       "17111                         NaN  ...        NaN   \n",
       "17123                         NaN  ...        NaN   \n",
       "17816                         NaN  ...        NaN   \n",
       "22634                         NaN  ...        NaN   \n",
       "24521                         NaN  ...        NaN   \n",
       "34196                         NaN  ...        NaN   \n",
       "34197                         NaN  ...        NaN   \n",
       "35420                         NaN  ...     1929.0   \n",
       "\n",
       "                                              item_notes  \\\n",
       "17111                                                NaN   \n",
       "17123                                                NaN   \n",
       "17816  Unidentified. Either John Daniel Jones's *If a...   \n",
       "22634                                                NaN   \n",
       "24521                                                NaN   \n",
       "34196                                                NaN   \n",
       "34197                                                NaN   \n",
       "35420                                                NaN   \n",
       "\n",
       "                source_type  \\\n",
       "17111               Logbook   \n",
       "17123               Logbook   \n",
       "17816  Lending Library Card   \n",
       "22634  Lending Library Card   \n",
       "24521               Logbook   \n",
       "34196               Logbook   \n",
       "34197               Logbook   \n",
       "35420  Lending Library Card   \n",
       "\n",
       "                                         source_citation  \\\n",
       "17111  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...   \n",
       "17123  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...   \n",
       "17816  Sylvia Beach, Helen Baldwin Lending Library Ca...   \n",
       "22634  Sylvia Beach, Teissier Lending Library Card, B...   \n",
       "24521  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...   \n",
       "34196  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...   \n",
       "34197  Sylvia Beach, Logbooks 1919–1941, Sylvia Beach...   \n",
       "35420  Sylvia Beach, Ernest Hemingway Lending Library...   \n",
       "\n",
       "                                         source_manifest  \\\n",
       "17111                                                NaN   \n",
       "17123                                                NaN   \n",
       "17816  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "22634  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "24521                                                NaN   \n",
       "34196                                                NaN   \n",
       "34197                                                NaN   \n",
       "35420  https://figgy.princeton.edu/concern/scanned_re...   \n",
       "\n",
       "                                            source_image  start_year end_year  \\\n",
       "17111                                                NaN        1935     None   \n",
       "17123                                                NaN        1935     None   \n",
       "17816  https://iiif.princeton.edu/loris/figgy_prod/98...        1935     1935   \n",
       "22634  https://iiif.princeton.edu/loris/figgy_prod/aa...        1938     1938   \n",
       "24521                                                NaN        1939     1939   \n",
       "34196                                                NaN        1935     1935   \n",
       "34197                                                NaN        1935     1935   \n",
       "35420  https://iiif-cloud.princeton.edu/iiif/2/28%2Ff...        None     None   \n",
       "\n",
       "       year has_year  \n",
       "17111  1935        1  \n",
       "17123  1935        1  \n",
       "17816  1935        1  \n",
       "22634  1938        1  \n",
       "24521  1939        1  \n",
       "34196  1935        1  \n",
       "34197  1935        1  \n",
       "35420   NaN        0  \n",
       "\n",
       "[8 rows x 32 columns]"
      ]
     },
     "execution_count": 74,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# events recorded with non-Franc currency\n",
    "currency[currency.currency != 'FRF']"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "w15LRsRE69w_"
   },
   "source": [
    "## source type"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 75,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 457
    },
    "id": "kw7O66IX9grN",
    "outputId": "d5f56b55-688e-4ad7-b713-e355284c4931"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>source_type</th>\n",
       "      <th>count</th>\n",
       "      <th>percent</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>22953</td>\n",
       "      <td>64.61</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>Logbook</td>\n",
       "      <td>8324</td>\n",
       "      <td>23.43</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>Logbook;Address Book</td>\n",
       "      <td>2079</td>\n",
       "      <td>5.85</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>Logbook;Lending Library Card</td>\n",
       "      <td>1077</td>\n",
       "      <td>3.03</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Address Book</td>\n",
       "      <td>845</td>\n",
       "      <td>2.38</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Lending Library Card;Lending Library Card</td>\n",
       "      <td>77</td>\n",
       "      <td>0.22</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Lending Library Card;Logbook</td>\n",
       "      <td>59</td>\n",
       "      <td>0.17</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>Logbook;Lending Library Card;Address Book</td>\n",
       "      <td>54</td>\n",
       "      <td>0.15</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Lending Library Card;Address Book</td>\n",
       "      <td>46</td>\n",
       "      <td>0.13</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>Logbook;Lending Library Card;Lending Library Card</td>\n",
       "      <td>5</td>\n",
       "      <td>0.01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>Logbook;Address Book;Lending Library Card</td>\n",
       "      <td>2</td>\n",
       "      <td>0.01</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Lending Library Card;Lending Library Card;Lend...</td>\n",
       "      <td>1</td>\n",
       "      <td>0.00</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Lending Library Card;Logbook;Address Book</td>\n",
       "      <td>1</td>\n",
       "      <td>0.00</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                                          source_type  count  percent\n",
       "1                                Lending Library Card  22953    64.61\n",
       "7                                             Logbook   8324    23.43\n",
       "8                                Logbook;Address Book   2079     5.85\n",
       "10                       Logbook;Lending Library Card   1077     3.03\n",
       "0                                        Address Book    845     2.38\n",
       "3           Lending Library Card;Lending Library Card     77     0.22\n",
       "5                        Lending Library Card;Logbook     59     0.17\n",
       "11          Logbook;Lending Library Card;Address Book     54     0.15\n",
       "2                   Lending Library Card;Address Book     46     0.13\n",
       "12  Logbook;Lending Library Card;Lending Library Card      5     0.01\n",
       "9           Logbook;Address Book;Lending Library Card      2     0.01\n",
       "4   Lending Library Card;Lending Library Card;Lend...      1     0.00\n",
       "6           Lending Library Card;Logbook;Address Book      1     0.00"
      ]
     },
     "execution_count": 75,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "total_events = len(events_df)\n",
    "events_df['source_type']\n",
    "source_type = events_df.groupby([\"source_type\"]).size().reset_index(name='count').sort_values(['count'], ascending=False)\n",
    "source_type['percent'] = source_type['count'].apply(lambda x: (x / total_events) * 100)\n",
    "source_type.percent = source_type.percent.round(2)\n",
    "source_type"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 78,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 269
    },
    "id": "-_H6neVz6Ieo",
    "outputId": "6a659e27-dd75-4c6f-f467-55c932b45a17"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>uniq_source_type</th>\n",
       "      <th>count</th>\n",
       "      <th>percent</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>Lending Library Card</td>\n",
       "      <td>23031</td>\n",
       "      <td>64.83</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>Logbook</td>\n",
       "      <td>8324</td>\n",
       "      <td>23.43</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>Address Book;Logbook</td>\n",
       "      <td>2079</td>\n",
       "      <td>5.85</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>Lending Library Card;Logbook</td>\n",
       "      <td>1141</td>\n",
       "      <td>3.21</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>Address Book</td>\n",
       "      <td>845</td>\n",
       "      <td>2.38</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>Address Book;Lending Library Card;Logbook</td>\n",
       "      <td>57</td>\n",
       "      <td>0.16</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>Address Book;Lending Library Card</td>\n",
       "      <td>46</td>\n",
       "      <td>0.13</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "                            uniq_source_type  count  percent\n",
       "4                       Lending Library Card  23031    64.83\n",
       "6                                    Logbook   8324    23.43\n",
       "3                       Address Book;Logbook   2079     5.85\n",
       "5               Lending Library Card;Logbook   1141     3.21\n",
       "0                               Address Book    845     2.38\n",
       "2  Address Book;Lending Library Card;Logbook     57     0.16\n",
       "1          Address Book;Lending Library Card     46     0.13"
      ]
     },
     "execution_count": 78,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "total_events = len(events_df)\n",
    "source_events['uniq_source_type'] = source_events['source_type'].apply(lambda x: (';'.join(sorted(set(x.split(';'))))))\n",
    "source_type = source_events.groupby([\"uniq_source_type\"]).size().reset_index(name='count').sort_values(['count'], ascending=False)\n",
    "source_type['percent'] = source_type['count'].apply(lambda x: (x / total_events) * 100)\n",
    "source_type.percent = source_type.percent.round(2)\n",
    "source_type"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 80,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/"
    },
    "id": "K-pe18wS7OAk",
    "outputId": "0dc44584-44c9-4445-ab82-9e984d12d563"
   },
   "outputs": [],
   "source": [
    "%%capture\n",
    "!pip install matplotlib-venn"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 82,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 321
    },
    "id": "17LyUMI0vBmS",
    "outputId": "5a553184-febe-4fbb-ef17-fdc8c0bb19af"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "24275 cards\n",
      "11601 logbooks\n",
      "3027 address books\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "<matplotlib_venn._common.VennDiagram at 0x13fd0c790>"
      ]
     },
     "execution_count": 82,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAZcAAADnCAYAAADSMxt4AAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAA5u0lEQVR4nO3deXhU5dn48e89kz1kgUBCEkhYRRYVBMWFQauoo9altp2fWltr+9bWin2tr9a1davaqq1WqfatrbYu9XXUumtUUOEAgoKAyiJ7WAMESEjInnl+f5yJDSGQbWbOzOT+XNdcJnPOPOcewHOfZxdjDEoppVQouZwOQCmlVPzR5KKUUirkNLkopZQKOU0uSimlQk6Ti1JKqZDT5KKUUirkNLkopZQKOU0uSimlQk6Ti1JKqZDT5KKUUirkNLkopZQKOU0uSimlQk6Ti1JKqZDT5KKUUirkNLkopZQKuahILiJyqohsafX7chE5NcIxvCMilwd//qGIzI3k9Z3WG7+zUip8OkwuIrJRRKZFIpgWxpixxpiPQl3u4W6gxpizjTH/DPU1Q0VEMkXkYRHZJCLVIrIu+Ht/p2NTSqm2oqLmEs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aCwA7vmAnAmUCIiZcaYl4PXaexOfL2dJhcVNYLJZid2fwVey0rFvrkVBF/5rX7uE+LLNwC7g6/WyWRDcL+bWHQh9pDdo7C/Xws/dj/Mzdg311+IyGPAedg1yQ9bnfeUiDwNbARu7+B6nwBVInIj8EjwmqOBVGPMpyJyGfCuMWZXq9pNQES+gb3Z1wpgH3aC6HDgg4gI9ui3vsBKY0yziPiBe0TkB9g14euAB4MfeR64UUTewW5Ouxd4wRjTZBcF2DtZeoF3RaTRGPN6d+Pr7TS5qKgV7LtYHXwdwGtZGcAAIA277b3tKzV4qsG+ETRjd8Y2BF/7+E8y2R1NExlD6HLgKWPMAZt1icgM7Jv/jdg1iCeA32I/kf+75TxjzDsi8jDwAfaf4W3YE2bbFby5fxP4A3b/RTL2E37LhEwv8MdgR3wpcLExplZEBgJ/wa49VAMvYDdFHcobItKM/XdbClxujFkePHYNdqf+euzVD54AngweexL7wWQO9uCDd4Pnt/0ey4Lf4y0RacResbkr8Sm0Q18ppVQYREN7tlJKqTijyUUppVTIaXJRSikVcppclFJKhZwmF6WUUiGnyUUppVTIaXJRSikVcppclFJKhZwmF6WUUiGnyUUppVTIaXJRSikVcppclFJKhZwmF6WUUiGnyUUppVTIaXJRSikVcppclFJKhZwmF6WUUiGnyUUppVTIaXJRSikVcppclFJKhZwmF6WUUiGnyUUppVTIaXJRSikVcppclFJKhZwmF6WUUiH3/wEzgNYaBwZIqQAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import matplotlib\n",
    "from matplotlib_venn import venn3\n",
    "cards = events_df[events_df['source_type'].str.contains('Lending Library Card')]\n",
    "logbooks = events_df[events_df['source_type'].str.contains('Logbook')]\n",
    "addressbook = events_df[events_df['source_type'].str.contains('Address Book')]\n",
    "print('%d cards' % len(list(cards.index)))\n",
    "print('%d logbooks' % len(list(logbooks.index)))\n",
    "print('%d address books' % len(list(addressbook.index)))\n",
    "\n",
    "\n",
    "# use colors from S&co site design: teal, gray, yellow\n",
    "venn_plot = venn3([set(cards.index), set(logbooks.index), set(addressbook.index)], ('Lending Library Cards', 'Logbooks', 'Address Books'), set_colors=('#47C2C2', 'darkgray', '#E09330'), alpha=0.7)\n",
    "#matplotlib.pyplot.savefig('event_source_venn.svg')\n",
    "venn_plot"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 85,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 323
    },
    "id": "5JnqkR8Bvlhz",
    "outputId": "5a69d6e9-5732-465c-903e-6a703647a956"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1782 cards\n",
      "11518 logbooks\n",
      "3027 address books\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "<matplotlib_venn._common.VennDiagram at 0x13fc15580>"
      ]
     },
     "execution_count": 85,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAVIAAADpCAYAAAB2r7/tAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAvyElEQVR4nO3dd3xc1Zn/8c8zo9FIo2LZcsdFNrhigw2YXkzHhCSElkYgZDcsyy9hsyUhARKhTSCbZJcQEnY3CRtIYGGBQAo1QOgGbMDGxjYYG3dbsi3ZsvqMNPP8/rhXZiTUp9wZzfPmNS+kue1cS/rOueece66oKsYYY4bO53UBjDEm21mQGmNMgixIjTEmQRakxhiTIAtSY4xJkAWpMcYkyILUGGMSZEFqjDEJsiA1xpgEWZAaY0yCLEiNMSZBFqTGGJMgC1JjTMYRkXtE5Acp2O/NInJfsvdrQWqMSZiIbBGRs7wuh1csSI0xJkEWpMaYlBCRoIjcLiK73NftIhKMW/4tEal2l/2tiKiIHBa3i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kfiABz49b/O+BF9+u/AtfGLZvl7iMPqHDP7V+AdcCkoZTPXt69rEZqUulK4BlVrXW/v5+PLu8nAjvVTQvX1rivJwLbe1nWKX75VGCie/lbLyL1wA1A52Xw3+CE8fvu5fEF7vv3An8B/s9tQvixiAT6OKcLVbUMpxnia8BLIjIeGI1z22l8Obfi1I47z6f7sry48gF8E7hTVXfEvTfY8hkPWJCalBCRQuAy4DQRqRGRGuAfgSNF5EigGjhEROKnvJsS93U1zuVsT8s6xYfwdmCzqpbFvUpU9XwAVd2gqp/HmbzkR8DvRaRIVdtVtUpV5wInAhfgXJL3SVWjqvoozn35JwO1ODXMqd3KvNP9elcPyzpwOqw6nQPcJCIHmziGWj6TXhakJlUuxAmZucAC9zUHeAUnCF7HCZLrRCQgIhcBx8Zt/xDwZRGZ67ZHVvZzvOVAo4hcLyKFIuJ3O2sWAYjI5SIyRlVjOJfmADEROV1E5ru9/g04YdjvJCXi+DTObFLvqWrULfMtIlIiIlOBfwLuczd5APhHEZkmIsXArcCDqho/Bd9a4DzgThH5lHucIZXPpJcFqUmVK3HaJ7epak3nC6eD5Ys4YXARTgfMPpyOm0c7N1bVp4DbgedxJk1+vq+DuUF2AU5gb8apId6F01EDTkCtFZEmnI6nz6lqKzAep/e9AXgPeAnncro3j7n7aMDp6LpSVde6y74ONAObgFdxmjJ+4y77jbvfl93ytbnrdz+PVe55/FpElgyhfMYDNvuTMcYkyGqkxhiTIAtSY4xJkAWpMcYkyILUGGMSZEFqjDEJsiA1xpgEWZAaY0yCLEiNMSZBFqTGGJOg/w+cGZX8xAY98AAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# generate the same plots for membership activity\n",
    "membership_events = events_df[events_df.event_type.isin(['Subscription', 'Renewal', 'Supplement', 'Reimbursement'])]\n",
    "\n",
    "membership_cards = membership_events[membership_events['source_type'].str.contains('Lending Library Card')]\n",
    "membership_logbooks = membership_events[membership_events['source_type'].str.contains('Logbook')]\n",
    "membership_addressbook = membership_events[membership_events['source_type'].str.contains('Address Book')]\n",
    "print('%d cards' % len(list(membership_cards.index)))\n",
    "print('%d logbooks' % len(list(membership_logbooks.index)))\n",
    "print('%d address books' % len(list(membership_addressbook.index)))\n",
    "\n",
    "venn_plot = venn3([set(membership_cards.index), set(membership_logbooks.index), set(membership_addressbook.index)], ('Lending Library Cards', 'Logbooks', 'Address Books'))\n",
    "# matplotlib.pyplot.savefig('membership_event_source_venn.svg')\n",
    "venn_plot"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 86,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 358
    },
    "id": "FwPRd_Mhc_8V",
    "outputId": "e6a39bfc-f12f-48f6-dd24-e86cc3bd565d"
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "22484 cards\n",
      "0 logbooks\n",
      "0 address books\n"
     ]
    },
    {
     "data": {
      "text/plain": [
       "<matplotlib_venn._common.VennDiagram at 0x13fe1cee0>"
      ]
     },
     "execution_count": 86,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAQMAAADnCAYAAAAaczPrAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjQuMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/MnkTPAAAACXBIWXMAAAsTAAALEwEAmpwYAAAafklEQVR4nO3deZgcVbnH8e9vMtlDMmQlIQuQEEICCAhhUSDsBMHlxoWryCKo6IO4XUUFNawuqAjiFbcrICouICogIGrUIIQtRGDYA9khC5msk3Xe+8ephmaYySyZrlNd9X6ep5+Z6a3e7qn+9Tmnqk7JzHDOuZrYBTjnssHDwDkHeBg45xIeBs45wMPAOZfwMHDOAR4GzrmEh4FzDvAwcM4lPAycc4CHgXMu4WHgnAM8DJxzCQ8D5xzgYeCcS3gYOO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wvFlYG9CF2RbziV0214iDMD+rOy2/oSWxkrC/2kFcEVbr8e9kR+oFJGkWcC1ZvazNu+cAZK+Aow3s1PbvLOrOnlsGWSWpCMk7ZR0E04nnKnpzth1tUeyqfIs4Eexa3GV4WGQrj2AOYRuwmcJzfklUStqB0kfJowD/NnM/hm7HlcZ3k1wzgHeMnDOJTwMnHOAh4FzLuFh4JwDPAyccwkPA+ccAP8PsZSe69d3FpQAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# generate the same plots for book activity\n",
    "book_events = events_df[~events_df.item_uri.isna()]\n",
    "\n",
    "book_cards = book_events[book_events['source_type'].str.contains('Lending Library Card')]\n",
    "book_logbooks = book_events[book_events['source_type'].str.contains('Logbook')]\n",
    "book_addressbook = book_events[book_events['source_type'].str.contains('Address Book')]\n",
    "print('%d cards' % len(list(book_cards.index)))\n",
    "print('%d logbooks' % len(list(book_logbooks.index)))\n",
    "print('%d address books' % len(list(book_addressbook.index)))\n",
    "\n",
    "venn_plot = venn3([set(book_cards.index), set(book_logbooks.index), set(book_addressbook.index)], ('Lending Library Cards', 'Logbooks', 'Address Books'))\n",
    "#TODO: switch to venn plot 2!\n",
    "\n",
    "# matplotlib.pyplot.savefig('book_event_source_venn.svg')\n",
    "venn_plot"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "id": "6nF9v--KFPdP"
   },
   "source": [
    "## separate payments\n",
    "\n",
    "(separate deposit in v1.1)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 88,
   "metadata": {
    "colab": {
     "base_uri": "https://localhost:8080/",
     "height": 424
    },
    "id": "va7vStKBdxug",
    "outputId": "c6f52b96-89df-4865-8ef1-ef03030c5d4a"
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>start_date</th>\n",
       "      <th>end_date</th>\n",
       "      <th>member_uris</th>\n",
       "      <th>member_sort_names</th>\n",
       "      <th>subscription_price_paid</th>\n",
       "      <th>subscription_deposit</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>1102</th>\n",
       "      <td>1920-11-18</td>\n",
       "      <td>1920-11-18</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Michaelides, Mme L.</td>\n",
       "      <td>8.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3496</th>\n",
       "      <td>1923-11-06</td>\n",
       "      <td>1923-11-06</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Stafford, Jane</td>\n",
       "      <td>NaN</td>\n",
       "      <td>20.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3707</th>\n",
       "      <td>1924-01-17</td>\n",
       "      <td>1924-01-17</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Embrie, Margaret Train</td>\n",
       "      <td>NaN</td>\n",
       "      <td>20.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4231</th>\n",
       "      <td>1924-06-25</td>\n",
       "      <td>1924-06-25</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Cody, Frances;Cody, Morrill</td>\n",
       "      <td>25.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4534</th>\n",
       "      <td>1924-10-08</td>\n",
       "      <td>1924-10-08</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Fenner, Mary</td>\n",
       "      <td>NaN</td>\n",
       "      <td>40.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29040</th>\n",
       "      <td>1941-10-10</td>\n",
       "      <td>1941-10-10</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Bentz, Mr.</td>\n",
       "      <td>NaN</td>\n",
       "      <td>50.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29099</th>\n",
       "      <td>1941-10-20</td>\n",
       "      <td>1941-10-20</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>de Girodon</td>\n",
       "      <td>NaN</td>\n",
       "      <td>50.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29140</th>\n",
       "      <td>1941-10-24</td>\n",
       "      <td>1941-10-24</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Simon-Juquin, Mme</td>\n",
       "      <td>NaN</td>\n",
       "      <td>50.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29273</th>\n",
       "      <td>1941-11-15</td>\n",
       "      <td>1941-11-15</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Lange, Mlle</td>\n",
       "      <td>NaN</td>\n",
       "      <td>50.0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29319</th>\n",
       "      <td>1941-11-25</td>\n",
       "      <td>1941-11-25</td>\n",
       "      <td>https://shakespeareandco.princeton.edu/members...</td>\n",
       "      <td>Grapard, Mme</td>\n",
       "      <td>30.0</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>85 rows × 6 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "       start_date    end_date  \\\n",
       "1102   1920-11-18  1920-11-18   \n",
       "3496   1923-11-06  1923-11-06   \n",
       "3707   1924-01-17  1924-01-17   \n",
       "4231   1924-06-25  1924-06-25   \n",
       "4534   1924-10-08  1924-10-08   \n",
       "...           ...         ...   \n",
       "29040  1941-10-10  1941-10-10   \n",
       "29099  1941-10-20  1941-10-20   \n",
       "29140  1941-10-24  1941-10-24   \n",
       "29273  1941-11-15  1941-11-15   \n",
       "29319  1941-11-25  1941-11-25   \n",
       "\n",
       "                                             member_uris  \\\n",
       "1102   https://shakespeareandco.princeton.edu/members...   \n",
       "3496   https://shakespeareandco.princeton.edu/members...   \n",
       "3707   https://shakespeareandco.princeton.edu/members...   \n",
       "4231   https://shakespeareandco.princeton.edu/members...   \n",
       "4534   https://shakespeareandco.princeton.edu/members...   \n",
       "...                                                  ...   \n",
       "29040  https://shakespeareandco.princeton.edu/members...   \n",
       "29099  https://shakespeareandco.princeton.edu/members...   \n",
       "29140  https://shakespeareandco.princeton.edu/members...   \n",
       "29273  https://shakespeareandco.princeton.edu/members...   \n",
       "29319  https://shakespeareandco.princeton.edu/members...   \n",
       "\n",
       "                 member_sort_names  subscription_price_paid  \\\n",
       "1102           Michaelides, Mme L.                      8.0   \n",
       "3496                Stafford, Jane                      NaN   \n",
       "3707        Embrie, Margaret Train                      NaN   \n",
       "4231   Cody, Frances;Cody, Morrill                     25.0   \n",
       "4534                  Fenner, Mary                      NaN   \n",
       "...                            ...                      ...   \n",
       "29040                   Bentz, Mr.                      NaN   \n",
       "29099                   de Girodon                      NaN   \n",
       "29140            Simon-Juquin, Mme                      NaN   \n",
       "29273                  Lange, Mlle                      NaN   \n",
       "29319                 Grapard, Mme                     30.0   \n",
       "\n",
       "       subscription_deposit  \n",
       "1102                    NaN  \n",
       "3496                   20.0  \n",
       "3707                   20.0  \n",
       "4231                    NaN  \n",
       "4534                   40.0  \n",
       "...                     ...  \n",
       "29040                  50.0  \n",
       "29099                  50.0  \n",
       "29140                  50.0  \n",
       "29273                  50.0  \n",
       "29319                   NaN  \n",
       "\n",
       "[85 rows x 6 columns]"
      ]
     },
     "execution_count": 88,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sep_dep = events_df[events_df.event_type == 'Separate Payment']\n",
    "sep_dep[['start_date', 'end_date', 'member_uris', 'member_sort_names', 'subscription_price_paid', 'subscription_deposit']]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "colab": {
   "collapsed_sections": [],
   "name": "SCoDatasetEssay_v1.2.ipynb",
   "provenance": [],
   "toc_visible": true
  },
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.9"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
